Add compile time define to disable skeleton generation and retargetting UI (disabled...
authorMartin Poirier <theeth@yahoo.com>
Tue, 28 Oct 2008 18:33:53 +0000 (18:33 +0000)
committerMartin Poirier <theeth@yahoo.com>
Tue, 28 Oct 2008 18:33:53 +0000 (18:33 +0000)
This is done to make merging make in trunk painless.

source/blender/include/reeb.h
source/blender/src/buttons_editing.c

index 1f9a7801b065d03148fc486ee51f18842e5ff0d9..57f7d1b60cf599814fb4c0f64642e18d3e2db6d6 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef REEB_H_
 #define REEB_H_
 
+//#define WITH_BF_REEB
+
 #include "DNA_listBase.h"
 
 #include "BLI_graph.h"
index fd13c88b81635db9310502f51f3f0e7921d45fcc..b7561deed8e4f9549b55a3a8b58a428027efbae2 100644 (file)
@@ -6710,9 +6710,11 @@ void editing_panels()
                        editing_panel_mesh_tools1(ob, ob->data);
                        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);
+                       #endif
                        
                        editing_panel_mesh_uvautocalculation();
                        if (EM_texFaceCheck())