forked from bartvdbraak/blender
Fix T73279: Particle Rotation checkbox enabled when a bake exists
The contents of the Rotation panel was already disabled when a bake exists, but the checkbox in the header wasn't. Since rotations are part of the baked data, it doesn't make sense to enable/disable rotations after baking.
This commit is contained in:
parent
ca7bd3f1c3
commit
1f6ab32196
@ -582,7 +582,10 @@ class PARTICLE_PT_rotation(ParticleButtonsPanel, Panel):
|
||||
else:
|
||||
part = context.space_data.pin_id
|
||||
|
||||
self.layout.prop(part, "use_rotations", text="")
|
||||
layout = self.layout
|
||||
layout.prop(part, "use_rotations", text="")
|
||||
layout.enabled = particle_panel_enabled(context, psys) and part.use_rotations
|
||||
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
Loading…
Reference in New Issue
Block a user