File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
arcor2_AREditor/Assets/TABLET/Scripts/GUI Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ private void OnGameStateChanged(object sender, GameStateEventArgs args) {
7777 }
7878 // create one button for each object type
7979 foreach ( ActionObjectMetadata actionObject in ActionsManager . Instance . ActionObjectsMetadata . Values . OrderBy ( x => x . Type ) ) {
80+ // abstract objects could not be created
81+ // collision objects are intented to be instantiated only once in the moment they are created, therefore
82+ // they are not listed in this menu, except for mesh-based objects (which could not be created or altered in the editor)
8083 if ( actionObject . Abstract || ( actionObject . CollisionObject && actionObject . ObjectModel . Type != ObjectModel . TypeEnum . Mesh ) )
8184 continue ;
8285 CreateBtn ( actionObject ) ;
You can’t perform that action at this time.
0 commit comments