File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 22
22
bl_info = {
23
23
"name" : "Import Voodoo Camera Tracks" ,
24
24
"author" : "Blender Defender" ,
25
- "version" : (1 , 0 , 2 ),
25
+ "version" : (1 , 0 , 3 ),
26
26
"blender" : (2 , 82 , 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!" ,
@@ -88,6 +88,12 @@ def execute(self, context):
88
88
89
89
#------return to 3D View---------------
90
90
bpy .context .area .ui_type = 'VIEW_3D'
91
+
92
+ #------make Camera active--------------
93
+ obj = bpy .context .window .scene .objects ["voodoo_render_cam" ]
94
+ bpy .context .view_layer .objects .active = obj
95
+ bpy .ops .view3d .object_as_camera ()
96
+
91
97
92
98
#------make Camera active--------------
93
99
bpy .data .objects ['voodoo_render_cam' ].select_set (True )
You can’t perform that action at this time.
0 commit comments