Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Context not available. | |||||
| col = split.column() | col = split.column() | ||||
| col.prop(dof, "focus_object", text="Focus Object") | col.prop(dof, "focus_object", text="Focus Object") | ||||
| if dof.focus_object and dof.focus_object.type == "ARMATURE": | |||||
| col.prop_search(dof, "focus_subtarget", dof.focus_object.data, "bones", text="Focus Bone") | |||||
| sub = col.row() | sub = col.row() | ||||
| sub.active = dof.focus_object is None | sub.active = dof.focus_object is None | ||||
| Context not available. | |||||