bnvm
04-20-2009, 08:04 PM
plugin modifier test
name:"test"
classID:#(0x6be80e87, 0x71e7eaf6)
extends:turboSmooth
replaceUI:true
(
parameters main rollout:params
(
displayIterations type:#integer ui:displayIterationsUI default:1
on displayIterations set val do
(
delegate.iterations = val
)
)
rollout params "test"
(
spinner displayIterationsUI "Display Iterations: " type:#integer range:[0,10,1] fieldWidth:30
)
)
I am trying to make a simpler version of the turbosmooth modifier that just lets you update the iterations. When I change the spinner it appears that the values update ok but the mesh in the viewport does not change. How can I get the mesh in the vp to update as well. Thanks,
-bnvm
name:"test"
classID:#(0x6be80e87, 0x71e7eaf6)
extends:turboSmooth
replaceUI:true
(
parameters main rollout:params
(
displayIterations type:#integer ui:displayIterationsUI default:1
on displayIterations set val do
(
delegate.iterations = val
)
)
rollout params "test"
(
spinner displayIterationsUI "Display Iterations: " type:#integer range:[0,10,1] fieldWidth:30
)
)
I am trying to make a simpler version of the turbosmooth modifier that just lets you update the iterations. When I change the spinner it appears that the values update ok but the mesh in the viewport does not change. How can I get the mesh in the vp to update as well. Thanks,
-bnvm
