diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-09-09 11:45:24 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2019-09-12 04:13:03 +0300 |
commit | 3a0789b3fb89455821909b96dcaa62c68647ea28 (patch) | |
tree | a1530da920f87e38c199738940bdbe50376deec5 | |
parent | 542885a2c450f36c8cb57411a295273a4a572154 (diff) |
Fix T69653: Freestyle modifiers "Distance from ..." python error
Was a wrong rename in rBaeb8e81f2741
-rw-r--r-- | release/scripts/startup/bl_operators/freestyle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/freestyle.py b/release/scripts/startup/bl_operators/freestyle.py index 14456941eb8..10720df876a 100644 --- a/release/scripts/startup/bl_operators/freestyle.py +++ b/release/scripts/startup/bl_operators/freestyle.py @@ -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 |