initial code for follow curve

This commit is contained in:
Pullusb
2022-11-04 18:45:37 +01:00
parent 4622aa4520
commit 336d1b264c
4 changed files with 222 additions and 3 deletions
+5 -3
View File
@@ -4,7 +4,7 @@ bl_info = {
"name": "GP toolbox",
"description": "Tool set for Grease Pencil in animation production",
"author": "Samuel Bernou, Christophe Seux",
"version": (2, 0, 11),
"version": (2, 1, 0),
"blender": (3, 0, 0),
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
"warning": "",
@@ -45,6 +45,7 @@ from . import OP_material_picker
from . import OP_git_update
from . import OP_layer_namespace
from . import OP_pseudo_tint
from . import OP_follow_curve
# from . import OP_eraser_brush
# from . import TOOL_eraser_brush
from . import handler_draw_cam
@@ -658,8 +659,8 @@ def set_namespace_env(name_env, prop_group):
if tag_list:
tag_list = tag_list.strip(',').split(',')
current_pfix = [n.tag for n in prop_group.namespaces if n.tag]
for n in prop_group.namespaces:
print(n.tag, n.name)
# for n in prop_group.namespaces:
# print(n.tag, n.name)
for p in tag_list:
tag = p.split(':')[0].strip()
name = '' if not ':' in p else p.split(':')[1].strip()
@@ -789,6 +790,7 @@ addon_modules = (
OP_git_update,
OP_layer_picker,
OP_layer_nav,
OP_follow_curve,
# OP_eraser_brush,
# TOOL_eraser_brush, # experimental eraser brush
handler_draw_cam,