continue refacto

This commit is contained in:
“christopheseux”
2022-12-28 00:09:57 +01:00
parent 575bbade7b
commit 74724423b4
5 changed files with 21 additions and 15 deletions
+3 -2
View File
@@ -7,7 +7,8 @@ from asset_library.action import (
operators,
properties,
rename_pose,
render_preview,)
#render_preview
)
if 'bpy' in locals():
import importlib
@@ -19,7 +20,7 @@ if 'bpy' in locals():
importlib.reload(operators)
importlib.reload(properties)
importlib.reload(rename_pose)
importlib.reload(render_preview)
#importlib.reload(render_preview)
def register():
operators.register()
+5 -4
View File
@@ -73,8 +73,8 @@ from asset_library.action.functions import (
from asset_library.common.functions import (
#get_actionlib_dir,
get_asset_source,
get_catalog_path,
read_catalog,
#get_catalog_path,
#read_catalog,
#set_actionlib_dir,
resync_lib,
get_active_library,
@@ -299,7 +299,7 @@ class ACTIONLIB_OT_apply_anim(Operator):
return {'FINISHED'}
"""
class ACTIONLIB_OT_publish(Operator):
bl_idname = "actionlib.publish"
bl_label = "Publish Library"
@@ -444,6 +444,7 @@ class ACTIONLIB_OT_publish(Operator):
print('[>-] Publish Done.')
return {"FINISHED"}
"""
class ACTIONLIB_OT_create_anim_asset(Operator):
@@ -1059,7 +1060,7 @@ class ACTIONLIB_OT_store_anim_pose(Operator):
classes = (
ACTIONLIB_OT_assign_action,
ACTIONLIB_OT_restore_previous_action,
ACTIONLIB_OT_publish,
#ACTIONLIB_OT_publish,
ACTIONLIB_OT_apply_anim,
ACTIONLIB_OT_replace_pose,
ACTIONLIB_OT_create_anim_asset,