Fix T37929: inherit scale for dupli faces was not shown greyed out when it should be.

This commit is contained in:
Brecht Van Lommel 2013-12-23 16:27:43 +01:00
parent 6c1525c99f
commit c9c0d11f2a
Notes: blender-bot 2023-12-08 16:39:08 +01:00
Referenced by issue #37929, UI Inconsistency - Inherit Scale and Scale tickable, Inherit scale not greyed out
1 changed files with 3 additions and 1 deletions

View File

@ -275,7 +275,9 @@ class OBJECT_PT_duplication(ObjectButtonsPanel, Panel):
elif ob.dupli_type == 'FACES':
row = layout.row()
row.prop(ob, "use_dupli_faces_scale", text="Scale")
row.prop(ob, "dupli_faces_scale", text="Inherit Scale")
sub = row.row()
sub.active = ob.use_dupli_faces_scale
sub.prop(ob, "dupli_faces_scale", text="Inherit Scale")
elif ob.dupli_type == 'GROUP':
layout.prop(ob, "dupli_group", text="Group")