[Bf-committers] Problem to see Fluid tab

bjornmose bjornmose at gmx.net
Tue Apr 8 00:20:13 CEST 2008


Hi all,
sorry (me blushes) forgot to turn it back to 'normal' ( was hunting a bug )
should be nice as before now ( tested win and lunix)
BM

lguillaume schrieb:
> 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);
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>   



More information about the Bf-committers mailing list