Fix T69653: Freestyle modifiers "Distance from ..." python error
Was a wrong rename in rBaeb8e81f2741
This commit is contained in:
parent
f3a4f12ac0
commit
d865ac8b1b
Notes:
blender-bot
2023-02-14 09:09:43 +01:00
Referenced by issue #69653, Freestyle modifiers "Distance from ..." python error
|
@ -106,7 +106,7 @@ class SCENE_OT_freestyle_fill_range_by_selection(bpy.types.Operator):
|
|||
m.range_max = max_dist
|
||||
return {'FINISHED'}
|
||||
# Find selected mesh objects
|
||||
selection = [ob for ob in scene.objects if ob.select_get() and ob.type == 'MESH' and ob.name != source.name]
|
||||
selection = [ob for ob in scene.objects if ob.select_get() and ob.type == 'MESH' and ob.name != ref.name]
|
||||
if selection:
|
||||
# Compute the min/max distance from the reference to mesh vertices
|
||||
min_dist = sys.float_info.max
|
||||
|
|
Loading…
Reference in New Issue