Merge pull request #13042 from gad-o/customIconFix

Fix #10798: Fixes Change Type does not change icon
This commit is contained in:
Rémi Verschelde 2017-11-20 00:13:10 +01:00 committed by GitHub
commit 171c46120d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1459,6 +1459,8 @@ void SceneTreeDock::_create() {
for (List<PropertyInfo>::Element *E = pinfo.front(); E; E = E->next()) {
if (!(E->get().usage & PROPERTY_USAGE_STORAGE))
continue;
if (E->get().name == "__meta__")
continue;
newnode->set(E->get().name, n->get(E->get().name));
}