From 537e911f6068028333a0ccbc713810dcc2fbcda1 Mon Sep 17 00:00:00 2001 From: Miguel Pozo Date: Fri, 10 Nov 2023 00:14:36 +0100 Subject: [PATCH] Make hardcoded properties ANIMATABLE --- BlenderMalt/MaltLights.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BlenderMalt/MaltLights.py b/BlenderMalt/MaltLights.py index 2154470b..51233e23 100644 --- a/BlenderMalt/MaltLights.py +++ b/BlenderMalt/MaltLights.py @@ -12,18 +12,18 @@ def sync_data(self, context): light.spot_blend = self.spot_blend_angle / self.spot_angle strength : bpy.props.FloatProperty(name='Strength', default=1, - options={'LIBRARY_EDITABLE'}, override={'LIBRARY_OVERRIDABLE'}) + options={'LIBRARY_EDITABLE', 'ANIMATABLE'}, override={'LIBRARY_OVERRIDABLE'}) override_global_settings : bpy.props.BoolProperty(name='Override Global Settings', default=False, options={'LIBRARY_EDITABLE'}, override={'LIBRARY_OVERRIDABLE'}) max_distance : bpy.props.FloatProperty(name='Max Distance', default=100, - options={'LIBRARY_EDITABLE'}, override={'LIBRARY_OVERRIDABLE'}) + options={'LIBRARY_EDITABLE', 'ANIMATABLE'}, override={'LIBRARY_OVERRIDABLE'}) radius : bpy.props.FloatProperty( name='Radius', default=5, update=sync_data, - options={'LIBRARY_EDITABLE'}, + options={'LIBRARY_EDITABLE', 'ANIMATABLE'}, override={'LIBRARY_OVERRIDABLE'} ) spot_angle : bpy.props.FloatProperty( @@ -33,7 +33,7 @@ def sync_data(self, context): min=0, max=math.pi, update=sync_data, - options={'LIBRARY_EDITABLE'}, + options={'LIBRARY_EDITABLE', 'ANIMATABLE'}, override={'LIBRARY_OVERRIDABLE'} ) spot_blend_angle : bpy.props.FloatProperty( @@ -43,7 +43,7 @@ def sync_data(self, context): min=0, max=math.pi, update=sync_data, - options={'LIBRARY_EDITABLE'}, + options={'LIBRARY_EDITABLE', 'ANIMATABLE'}, override={'LIBRARY_OVERRIDABLE'} )