Modifier plugin doesn't react to Animation.

Modifier plugin doesn't react to Animation.

mateusz_s
Enthusiast Enthusiast
246 Views
1 Reply
Message 1 of 2

Modifier plugin doesn't react to Animation.

mateusz_s
Enthusiast
Enthusiast

I am working on the MODIFIER plugin - 

everything works when I move the sliders manually

but when I try to animatethe sliders - nothing happens.

 

The sliders themselves are animating - the values are changing over the time.

But Modifier doesn't react to them.

 

Also functions like GetValidity and LocalValidity are not executed whlie the animation is playing?


I used the 3ds max Wizard Modifier template as base,

using the Modifier base class.

 

Thanks in advance!

0 Likes
Accepted solutions (1)
247 Views
1 Reply
Reply (1)
Message 2 of 2

mateusz_s
Enthusiast
Enthusiast
Accepted solution
Ok, fixed.. I added those lines at the end of ::ModifyObject(..)  function.

_os->obj->UpdateValidity(TOPO_CHAN_NUM, ivalid);
_os->obj->UpdateValidity(GEOM_CHAN_NUM, ivalid);