Hide full retarget panels behind rt -1 (not ready for large scale use and not too...
authorMartin Poirier <theeth@yahoo.com>
Mon, 30 Mar 2009 15:26:14 +0000 (15:26 +0000)
committerMartin Poirier <theeth@yahoo.com>
Mon, 30 Mar 2009 15:26:14 +0000 (15:26 +0000)
source/blender/src/buttons_editing.c

index 2f77e3659eecb40007113f55707a148f2a5da9cf..80495b9ff80df34f6a53e5ba6aa66bdd27e485e3 100644 (file)
@@ -6858,9 +6858,12 @@ void editing_panels()
                        uiNewPanelTabbed("Mesh Tools 1", "Editing");
                        
                        #ifdef WITH_BF_REEB
-                       editing_panel_mesh_skgen(ob, ob->data);
-                       editing_panel_mesh_skgen_retarget(ob, ob->data);
-                       editing_panel_mesh_skgen_display(ob, ob->data);
+                       if (G.rt == -1)
+                       {
+                               editing_panel_mesh_skgen(ob, ob->data);
+                               editing_panel_mesh_skgen_retarget(ob, ob->data);
+                               editing_panel_mesh_skgen_display(ob, ob->data);
+                       }
                        #endif
                        
                        editing_panel_mesh_uvautocalculation();