commit a4ae50bd7c910377935362d31ae8507bd8460832
parent 68354f36682c654f1e9f020bee7eda3d33cea4e7
Author: fundamental <[email protected]>
Date: Wed, 16 Jul 2014 13:08:41 -0400
Fix /part*/Pvolume Routeing
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/Misc/Part.cpp b/src/Misc/Part.cpp
@@ -49,7 +49,11 @@ static Ports partPorts = {
rRecursp(partefx, 3, "Part Effect"),
rRecur(ctl, "Controller"),
rToggle(Penabled, "Part enable"),
+#undef rChangeCb
+#define rChangeCb obj->setPvolume(obj->Pvolume);
rParam(Pvolume, "Part Volume"),
+#undef rChangeCb
+#define rChangeCb
rParam(Pminkey, "Min Used Key"),
rParam(Pmaxkey, "Max Used Key"),
rParam(Pkeyshift, "Part keyshift"),