Notifications
Clear all
[Closed] viewport redraw
Jul 06, 2007 10:19 am
Hi there,
I ran into this kind of problem: I wrote a utility pluging with max sdk which changes some properties of the material of the selected scene node. The problem is that this change doesnt’t affect the viewport, e.g. the the node is displayed with the old material settings (diffuse or whatever). When the node is deselected the viewport is refreshed and the material is displayed correctly. Is there a way to invalidate node’s mtl and redraw it ?
3 Replies
Jul 06, 2007 10:19 am
with redraw on (
)
with redraw off (
)
disableSceneRedraw()
enableSceneRedraw()
^ Have always worked for me no problems redrawing.
-Colin