[Bf-extensions-cvs] [0574f418] master: Fix: Incorrect soft max after IDProperty UI data refactor
Hans Goudey
noreply at git.blender.org
Mon Jan 17 19:27:11 CET 2022
Commit: 0574f418a03e2dddfac8b402ce1fb8c33b6b25d5
Author: Hans Goudey
Date: Mon Jan 17 12:26:58 2022 -0600
Branches: master
https://developer.blender.org/rBA0574f418a03e2dddfac8b402ce1fb8c33b6b25d5
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.
===================================================================
M add_camera_rigs/build_rigs.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list