|
22 | 22 | bl_info = {
|
23 | 23 | "name": "Import Voodoo Camera Tracks",
|
24 | 24 | "author": "Blender Defender",
|
25 |
| - "version": (1, 0, 3), |
26 |
| - "blender": (2, 82, 0), |
| 25 | + "version": (1, 0, 4), |
| 26 | + "blender": (2, 83, 0), |
27 | 27 | "location": "View3D > Object > Import > Open Voodo Camera Track",
|
28 | 28 | "description": "Import Voodoo Camera Tracker Scripts (for Blender 2.5) to Blender 2.8x the easy way!",
|
29 | 29 | "warning": "",
|
|
45 | 45 | # Main Operator, opening, editing and executing the Voodoo Script
|
46 | 46 | #-----------------------------------------------------------------
|
47 | 47 |
|
48 |
| -class OT_IO_ImportVoodooTrack(Operator, ImportHelper): |
| 48 | +class IO_VOODOO_TRACKS_OT_import_voodoo_track(Operator, ImportHelper): |
49 | 49 | """Import Voodoo Camera Tracker Script (for Blender 2.5, will be automaticly converted)"""
|
50 |
| - bl_idname = "open.voodoo_track" |
| 50 | + bl_idname = "import.voodoo_track" |
51 | 51 | bl_label = "Open Voodo Camera Track (.py)"
|
52 | 52 |
|
53 | 53 | def execute(self, context):
|
@@ -105,20 +105,20 @@ def execute(self, context):
|
105 | 105 | # Import Menu
|
106 | 106 | #-----------------------------------------------------------------
|
107 | 107 |
|
108 |
| -class Voodoo_Tracking_Menu(bpy.types.Menu): |
109 |
| - bl_idname = 'menu.import_voodoo' |
| 108 | +class IO_VOODOO_TRACKS_MT_voodoo_tracker_menu(bpy.types.Menu): |
| 109 | + bl_idname = 'menu.voodoo_track' |
110 | 110 | bl_label = 'Import'
|
111 | 111 |
|
112 | 112 | def draw(self, context):
|
113 | 113 | layout = self.layout
|
114 |
| - layout.operator(OT_IO_ImportVoodooTrack.bl_idname, icon = 'CON_CAMERASOLVER') |
| 114 | + layout.operator(IO_VOODOO_TRACKS_OT_import_voodoo_track.bl_idname, icon = 'CON_CAMERASOLVER') |
115 | 115 | #-----------------------------------------------------------------
|
116 | 116 |
|
117 | 117 | def menu_func(self, context):
|
118 |
| - self.layout.menu(Voodoo_Tracking_Menu.bl_idname) |
| 118 | + self.layout.menu(IO_VOODOO_TRACKS_MT_voodoo_tracker_menu.bl_idname) |
119 | 119 |
|
120 | 120 |
|
121 |
| -class DemoPreferences(bpy.types.AddonPreferences): |
| 121 | +class IO_VOODOO_TRACKS_PREF_addon_preferences(bpy.types.AddonPreferences): |
122 | 122 | bl_idname = __package__
|
123 | 123 |
|
124 | 124 | # addon updater preferences
|
@@ -179,13 +179,14 @@ def draw(self, context):
|
179 | 179 |
|
180 | 180 |
|
181 | 181 | classes = (
|
182 |
| - DemoPreferences, |
183 |
| - OT_IO_ImportVoodooTrack, |
184 |
| - Voodoo_Tracking_Menu, |
| 182 | + IO_VOODOO_TRACKS_PREF_addon_preferences, |
| 183 | + IO_VOODOO_TRACKS_OT_import_voodoo_track, |
| 184 | + IO_VOODOO_TRACKS_MT_voodoo_tracker_menu, |
185 | 185 |
|
186 | 186 | )
|
187 | 187 |
|
188 | 188 |
|
| 189 | + |
189 | 190 | def register():
|
190 | 191 | # addon updater code and configurations
|
191 | 192 | # in case of broken version, try to register the updater first
|
|
0 commit comments