entitypath.push(makeReference(node.get()));
scene::Instance& instance = findInstance(entitypath);
- if(entityClass->fixedsize)
+ if(entityClass->fixedsize || (isModel && !brushesSelected))
{
Select_Delete();
}
else
{
+ if (g_pGameDescription->mGameType == "doom3")
+ {
+ Node_getEntity(node)->setKeyValue("model", Node_getEntity(node)->getKeyValue("name"));
+ }
+
Scene_parentSelectedBrushesToEntity(GlobalSceneGraph(), node);
Scene_forEachChildSelectable(SelectableSetSelected(true), instance.path());
}