git-svn-id: svn://db.shs.com.ru/libs@701 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-12-13 23:15:59 +00:00
parent cac73a63f1
commit 2136b4d30b
22 changed files with 653 additions and 671 deletions

View File

@@ -379,7 +379,7 @@ void ObjectBase::setMaterial(Material * m, bool with_children) {
if (with_children)
foreach (ObjectBase * i, children_) i->setMaterial(m, true);
setObjectsChanged();
if (scene_) scene_->mat_changed = true;
if (scene_) scene_->mat_changed = scene_->tree_changed = true;
}