scene graph node updates, editor history system updates

This commit is contained in:
turanszkij
2017-11-23 15:24:19 +00:00
parent f2eb5af4b3
commit 9957988fc6
12 changed files with 172 additions and 77 deletions
+3
View File
@@ -405,6 +405,9 @@ MaterialWindow::~MaterialWindow()
void MaterialWindow::SetMaterial(Material* mat)
{
if (this->material == mat)
return;
if (material != nullptr)
{
material->SetUserStencilRef(0);