Skip to content
Snippets Groups Projects
Commit 0574f418 authored by Hans Goudey's avatar Hans Goudey
Browse files

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.
parent d4fcda59
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment