Preview Render:

* Changing Material Preview type (Sphere, Monkey...) should not trigger ND_SHADING_DRAW. Caused Cycles 3D View render to re-start. 

It now only triggers an ND_SHADER update, which will be handled inside the Properties Editor Listener and executes a Preview Re-Render.
This commit is contained in:
Thomas Dinges
2013-01-29 14:52:26 +00:00
parent 6d2f104884
commit d18fca88b9

View File

@@ -114,7 +114,7 @@ static void rna_Material_update_previews(Main *bmain, Scene *scene, PointerRNA *
if (ma->nodetree)
ntreeClearPreview(ma->nodetree);
rna_Material_update(bmain, scene, ptr);
WM_main_add_notifier(NC_MATERIAL | ND_SHADING, ma);
}