[Bf-committers] Problem to see Fluid tab

lguillaume lecocqguillaume at gmail.com
Mon Mar 31 15:58:00 CEST 2008


Hello,
now with the addition of the cloth panel on physics tab on a normal screen
at 1152x864 the fluid panel is  not shown.

Can you make all softbody panel tabbed like the cloth is, if beginners try
to search the fluid panel, they can't found it.
Thanks.

Little patch :

Index: source/blender/src/buttons_object.c
===================================================================
--- source/blender/src/buttons_object.c    (revision 14291)
+++ source/blender/src/buttons_object.c    (working copy)
@@ -3596,7 +3596,7 @@
         ob->pd->pdef_sboft  = 0.02f;
     }
     block= uiNewBlock(&curarea->uiblocks, "object_softbodies_collision",
UI_EMBOSS, UI_HELV, curarea->win);
-    // uiNewPanelTabbed("Soft Body", "Physics"); /*don't really want it
tabbed first */
+    uiNewPanelTabbed("Soft Body", "Physics"); /*don't really want it tabbed
first */
     if(uiNewPanel(curarea, block, "Soft Body Collision", "Physics", 651, 0,
318, 204)==0) return;

     uiSetButLock(object_data_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
@@ -3696,6 +3696,7 @@
     int ob_has_hair=psys_ob_has_hair(ob);
     if(!_can_softbodies_at_all(ob)) return;
     block= uiNewBlock(&curarea->uiblocks, "object_softbodies_solver",
UI_EMBOSS, UI_HELV, curarea->win);
+    uiNewPanelTabbed("Soft Body", "Physics");
     if(uiNewPanel(curarea, block, "Soft Body Solver", "Physics", 651, 0,
318, 204)==0) return;

     uiSetButLock(object_data_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20080331/cd1cde13/attachment.htm 


More information about the Bf-committers mailing list