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.
This commit is contained in:
Hans Goudey 2022-01-17 12:26:58 -06:00
parent d4fcda5935
commit 0574f418a0
1 changed files with 1 additions and 1 deletions

View File

@ -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