* replace reGroup command with simpler to use Move Primitives to Entity one (select primitives to move, select target entity primitive, go)
fix crashes in Entity_ungroupSelected, Entity_connectSelected rename entity commands uniformly for simpler search in the list
This commit is contained in:
@@ -151,7 +151,7 @@ typedef MemberCaller1<ConnectEntities, const char*, &ConnectEntities::connect> C
|
||||
|
||||
inline Entity* ScenePath_getEntity( const scene::Path& path ){
|
||||
Entity* entity = Node_getEntity( path.top() );
|
||||
if ( entity == 0 ) {
|
||||
if ( entity == 0 && path.size() > 1 ) {
|
||||
entity = Node_getEntity( path.parent() );
|
||||
}
|
||||
return entity;
|
||||
|
||||
Reference in New Issue
Block a user