Is there a way to change a prop with an update def without calling the update def?
def update_prop(self, context):
print ("update")
if self.variable > 10:
self.variable = 10 #10 is a variable that changes in my code
#i want to set the prop without recalling the update
else:
print("else")
class Props(bpy.types.PropertyGroup):
bpy.types.Object.variable = bpy.props.IntProperty(
name="variable",
default=0,
min=0,
update=update_prop,