Fix #108737: Python error in Property Editor search menu #108795
@ -44,8 +44,8 @@ def geometry_modifier_poll(context):
|
||||
|
||||
|
||||
def get_context_modifier(context):
|
||||
area = context.area
|
||||
if (area is not None) and (area.type == 'PROPERTIES'):
|
||||
# Context only has a 'modifier' attribute in the modifier extra operators dropdown.
|
||||
if hasattr(context, 'modifier'):
|
||||
|
||||
modifier = context.modifier
|
||||
else:
|
||||
ob = context.object
|
||||
|
Loading…
Reference in New Issue
Block a user
Missing
.