Fix "Fix #102885": Wrong check is always False
The check was incorrect, so it always reset the subtype to NONE. Pull Request: https://projects.blender.org/blender/blender/pulls/114038
This commit is contained in:
parent
a48d4184b5
commit
7c5b78d2c7
|
@ -1666,7 +1666,7 @@ class WM_OT_properties_edit(Operator):
|
|||
self.soft_max_float = rna_data["soft_max"]
|
||||
self.precision = rna_data["precision"]
|
||||
self.step_float = rna_data["step"]
|
||||
if rna_data["subtype"] in self.subtype_items_cb(None):
|
||||
if rna_data["subtype"] in [item[0] for item in self.subtype_items_cb(None)]:
|
||||
self.subtype = rna_data["subtype"]
|
||||
self.use_soft_limits = (
|
||||
self.min_float != self.soft_min_float or
|
||||
|
|
Loading…
Reference in New Issue