naming and url fix

master
Pullusb 2021-04-05 01:39:27 +02:00
parent ada6255d6a
commit 1b2ac6b0f1
4 changed files with 19 additions and 19 deletions

View File

@ -3,7 +3,7 @@ from . import fn
from . import animate_path
class WCA_OT_animate_path(bpy.types.Operator):
class UAC_OT_animate_path(bpy.types.Operator):
bl_idname = "anim.animate_path"
bl_label = "Animate Path"
bl_description = "Select the most representative 'in contact' feet of the cycle"
@ -27,7 +27,7 @@ class WCA_OT_animate_path(bpy.types.Operator):
return {"FINISHED"}
class WCA_OT_adjust_animation_length(bpy.types.Operator):
class UAC_OT_adjust_animation_length(bpy.types.Operator):
bl_idname = "anim.adjust_animation_length"
bl_label = "Adjust Anim speed"
bl_description = "Adjust speed\nOnce pressed, move up/down to move animation path last key value"
@ -108,8 +108,8 @@ class WCA_OT_adjust_animation_length(bpy.types.Operator):
# layout.prop(self, "val")
classes=(
WCA_OT_animate_path,
WCA_OT_adjust_animation_length,
UAC_OT_animate_path,
UAC_OT_adjust_animation_length,
)

View File

@ -61,7 +61,7 @@ def snap_curve():
# TODO Create the follow path modifier automatically
class WCA_OT_create_curve_path(bpy.types.Operator):
class UAC_OT_create_curve_path(bpy.types.Operator):
bl_idname = "anim.create_curve_path"
bl_label = "Create Curve"
bl_description = "Create curve and add follow path constraint"
@ -120,7 +120,7 @@ class WCA_OT_create_curve_path(bpy.types.Operator):
return {"FINISHED"}
class WCA_OT_snap_curve_to_ground(bpy.types.Operator):
class UAC_OT_snap_curve_to_ground(bpy.types.Operator):
bl_idname = "anim.snap_curve_to_ground"
bl_label = "snap_curve_to_ground"
bl_description = "snap curve"
@ -135,8 +135,8 @@ class WCA_OT_snap_curve_to_ground(bpy.types.Operator):
return {"FINISHED"}
classes=(
WCA_OT_create_curve_path,
WCA_OT_snap_curve_to_ground,
UAC_OT_create_curve_path,
UAC_OT_snap_curve_to_ground,
)
def register():

View File

@ -1,12 +1,12 @@
bl_info = {
"name": "Walk cycle anim",
"description": "Walk cycle utility",
"name": "Unfold Anim Cycle",
"description": "Anim utility to develop walk/run cycles along a curve",
"author": "Samuel Bernou",
"version": (0, 1, 0),
"blender": (2, 92, 0),
"location": "View3D",
"warning": "",
"doc_url": "https://github.com/Pullusb/PROJ_name",
"warning": "WIP",
"doc_url": "https://gitlab.com/autour-de-minuit/blender/unfold_anim_cycle",
"category": "Object" }
# from . import other_file
@ -17,7 +17,7 @@ from . import OP_setup_curve_path
from . import OP_animate_path
from . import panels
class WCA_PGT_settings(bpy.types.PropertyGroup) :
class UAC_PGT_settings(bpy.types.PropertyGroup) :
## HIDDEN to hide the animatable dot thing
path_to_follow : bpy.props.PointerProperty(type=bpy.types.Object,
name="Path", description="Curve object used")
@ -40,7 +40,7 @@ class WCA_PGT_settings(bpy.types.PropertyGroup) :
# name="int prop", description="", default=25, min=1, max=2**31-1, soft_min=1, soft_max=2**31-1, step=1, options={'HIDDEN'})#, subtype='PIXEL'
class WCA_addon_prefs(bpy.types.AddonPreferences):
class UAC_addon_prefs(bpy.types.AddonPreferences):
## can be just __name__ if prefs are in the __init__ mainfile
# Else need the splitext '__name__ = addonname.subfile' (or use a static name)
bl_idname = __name__.split('.')[0] # or with: os.path.splitext(__name__)[0]
@ -109,8 +109,8 @@ def unregister_keymaps():
### --- REGISTER ---
classes=(
WCA_PGT_settings,
WCA_addon_prefs,
UAC_PGT_settings,
UAC_addon_prefs,
)
def register():
@ -122,7 +122,7 @@ def register():
# if not bpy.app.background:
#register_keymaps()
bpy.types.Scene.anim_cycle_settings = bpy.props.PointerProperty(type = WCA_PGT_settings)
bpy.types.Scene.anim_cycle_settings = bpy.props.PointerProperty(type = UAC_PGT_settings)
def unregister():
# if not bpy.app.background:

View File

@ -1,7 +1,7 @@
import bpy
class WCA_PT_walk_cycle_anim_panel(bpy.types.Panel):
class UAC_PT_walk_cycle_anim_panel(bpy.types.Panel):
bl_space_type = "VIEW_3D"
bl_region_type = "UI"
bl_category = "Anim"
@ -33,7 +33,7 @@ class WCA_PT_walk_cycle_anim_panel(bpy.types.Panel):
classes=(
WCA_PT_walk_cycle_anim_panel,
UAC_PT_walk_cycle_anim_panel,
)
def register():