diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-17 21:26:58 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-17 21:26:58 +0300 |
commit | 0574f418a03e2dddfac8b402ce1fb8c33b6b25d5 (patch) | |
tree | cdbad5fc2d9f6f8102e5664197e23ddab18d616c /add_camera_rigs | |
parent | d4fcda5935c5c561e77aadd32a32500cf280dcaa (diff) |
Fix: Incorrect soft max after IDProperty UI data refactor
This shouldn't have had an effect, since the soft max was
larger than the max, but it is still incorrect. Caused by a
typo in rBA104ba1c5682016a55. Thanks to @MKRelax
for pointing this out.
Diffstat (limited to 'add_camera_rigs')
-rw-r--r-- | add_camera_rigs/build_rigs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_camera_rigs/build_rigs.py b/add_camera_rigs/build_rigs.py index e3f61632..9acce660 100644 --- a/add_camera_rigs/build_rigs.py +++ b/add_camera_rigs/build_rigs.py @@ -324,7 +324,7 @@ def create_2d_bones(context, rig, cam): # Property to switch between rotation and switch mode pose_bones["Camera"]['rotation_shift'] = 0.0 ui_data = pose_bones["Camera"].id_properties_ui('rotation_shift') - ui_data.update(min=0.0, max=1.0, soft_max = 5000.0, description="rotation_shift") + ui_data.update(min=0.0, max=1.0, description="rotation_shift") # Rotation / shift switch driver driver = con.driver_add('influence').driver |