Fix T69653: Freestyle modifiers "Distance from ..." python error
Was a wrong rename in rBaeb8e81f2741
This commit is contained in:
@@ -106,7 +106,7 @@ class SCENE_OT_freestyle_fill_range_by_selection(bpy.types.Operator):
|
|||||||
m.range_max = max_dist
|
m.range_max = max_dist
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
# Find selected mesh objects
|
# 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:
|
if selection:
|
||||||
# Compute the min/max distance from the reference to mesh vertices
|
# Compute the min/max distance from the reference to mesh vertices
|
||||||
min_dist = sys.float_info.max
|
min_dist = sys.float_info.max
|
||||||
|
Reference in New Issue
Block a user