From 0574f418a03e2dddfac8b402ce1fb8c33b6b25d5 Mon Sep 17 00:00:00 2001
From: Hans Goudey <h.goudey@me.com>
Date: Mon, 17 Jan 2022 12:26:58 -0600
Subject: [PATCH] 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.
---
 add_camera_rigs/build_rigs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/add_camera_rigs/build_rigs.py b/add_camera_rigs/build_rigs.py
index e3f616320..9acce660f 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
-- 
GitLab