Add optional object target for constant cursor follow

This commit is contained in:
pullusb
2024-12-03 16:37:42 +01:00
parent 2013c55ba8
commit 7665dd4f4f
3 changed files with 22 additions and 5 deletions
+5
View File
@@ -178,6 +178,11 @@ class GP_PG_ToolsSettings(PropertyGroup):
name='Cursor Follow', description="3D cursor follow active object animation when activated",
default=False, update=cursor_follow_update)
cursor_follow_target : bpy.props.PointerProperty(
name='Cursor Follow Target',
description="Optional target object to follow for cursor instead of active object",
type=bpy.types.Object, update=cursor_follow_update)
## gpv3 : no edit line color anymore
# edit_lines_opacity : FloatProperty(
# name="Edit Lines Opacity", description="Change edit lines opacity for all grease pencils",