forked from bartvdbraak/blender
Cloth Buttons:
Cloth Collision settings dindt't use the new button space context data.
This commit is contained in:
parent
a3c0730f99
commit
9b86975586
@ -59,7 +59,7 @@ class Physic_PT_cloth_collision(PhysicButtonsPanel):
|
|||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|
||||||
md = self.cloth_modifier(context)
|
md = context.cloth
|
||||||
cloth = md.collision_settings
|
cloth = md.collision_settings
|
||||||
layout.active = cloth.enable_collision
|
layout.active = cloth.enable_collision
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user