forked from bartvdbraak/blender
2.5 Buttons:
* Material buttons didn't import. Fixed. * Removed Path label from Fluid panels.
This commit is contained in:
parent
13786ba621
commit
248fa8ec54
@ -384,7 +384,7 @@ class MATERIAL_PT_raytransp(MaterialButtonsPanel):
|
|||||||
mat = context.material
|
mat = context.material
|
||||||
rayt = context.material.raytrace_transparency
|
rayt = context.material.raytrace_transparency
|
||||||
|
|
||||||
layout.active = rayt.enabled and mat.shadeless = False
|
layout.active = rayt.enabled and mat.shadeless == False
|
||||||
|
|
||||||
split = layout.split()
|
split = layout.split()
|
||||||
|
|
||||||
|
@ -69,7 +69,6 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel):
|
|||||||
col.itemR(fluid, "reverse_frames")
|
col.itemR(fluid, "reverse_frames")
|
||||||
col.itemR(fluid, "generate_speed_vectors")
|
col.itemR(fluid, "generate_speed_vectors")
|
||||||
|
|
||||||
layout.itemL(text="Path:")
|
|
||||||
layout.itemR(fluid, "path", text="")
|
layout.itemR(fluid, "path", text="")
|
||||||
|
|
||||||
elif fluid.type == 'FLUID':
|
elif fluid.type == 'FLUID':
|
||||||
@ -133,7 +132,6 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel):
|
|||||||
sub.itemR(fluid, "particle_influence", text="Size")
|
sub.itemR(fluid, "particle_influence", text="Size")
|
||||||
sub.itemR(fluid, "alpha_influence", text="Alpha")
|
sub.itemR(fluid, "alpha_influence", text="Alpha")
|
||||||
|
|
||||||
layout.itemL(text="Path:")
|
|
||||||
layout.itemR(fluid, "path", text="")
|
layout.itemR(fluid, "path", text="")
|
||||||
|
|
||||||
col = split.column()
|
col = split.column()
|
||||||
|
Loading…
Reference in New Issue
Block a user