[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3869] contrib/py/scripts/addons/ sequencer_extra_actions: removed some print lines in functions. py and operators_extra_actions.py
carlos padial
palidoestudio2 at gmail.com
Fri Oct 19 12:02:13 CEST 2012
Revision: 3869
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3869
Author: carlospadial
Date: 2012-10-19 10:02:13 +0000 (Fri, 19 Oct 2012)
Log Message:
-----------
removed some print lines in functions.py and operators_extra_actions.py
Modified Paths:
--------------
contrib/py/scripts/addons/sequencer_extra_actions/functions.py
contrib/py/scripts/addons/sequencer_extra_actions/operators_extra_actions.py
Modified: contrib/py/scripts/addons/sequencer_extra_actions/functions.py
===================================================================
--- contrib/py/scripts/addons/sequencer_extra_actions/functions.py 2012-10-19 04:53:21 UTC (rev 3868)
+++ contrib/py/scripts/addons/sequencer_extra_actions/functions.py 2012-10-19 10:02:13 UTC (rev 3869)
@@ -89,8 +89,8 @@
try:
params
except UnboundLocalError:
- print("no browser")
- #self.report({'ERROR_INVALID_INPUT'}, 'No visible File Browser')
+ #print("no browser")
+ self.report({'ERROR_INVALID_INPUT'}, 'No visible File Browser')
return {'CANCELLED'}
path = params.directory
return path
@@ -108,13 +108,13 @@
try:
params
except UnboundLocalError:
- print("no browser")
- #self.report({'ERROR_INVALID_INPUT'}, 'No visible File Browser')
+ #print("no browser")
+ self.report({'ERROR_INVALID_INPUT'}, 'No visible File Browser')
return {'CANCELLED'}
if params.filename == '':
- print("no file selected")
- #self.report({'ERROR_INVALID_INPUT'}, 'No file selected')
+ #print("no file selected")
+ self.report({'ERROR_INVALID_INPUT'}, 'No file selected')
return {'CANCELLED'}
path = params.directory
filename = params.filename
@@ -133,8 +133,8 @@
try:
params
except UnboundLocalError:
- print("no browser")
- #self.report({'ERROR_INVALID_INPUT'}, 'No visible File Browser')
+ #print("no browser")
+ self.report({'ERROR_INVALID_INPUT'}, 'No visible File Browser')
return {'CANCELLED'}
params.directory = path
Modified: contrib/py/scripts/addons/sequencer_extra_actions/operators_extra_actions.py
===================================================================
--- contrib/py/scripts/addons/sequencer_extra_actions/operators_extra_actions.py 2012-10-19 04:53:21 UTC (rev 3868)
+++ contrib/py/scripts/addons/sequencer_extra_actions/operators_extra_actions.py 2012-10-19 10:02:13 UTC (rev 3869)
@@ -1419,7 +1419,7 @@
strip.proxy.build_50 = self.build_50
strip.proxy.build_75 = self.build_75
strip.proxy.build_100 = self.build_100
- print("----------------", proxypath)
+ #print("----------------", proxypath)
if os.path.isfile(proxypath):
strip.use_proxy_custom_file = True
strip.proxy.filepath = proxypath
@@ -1487,7 +1487,7 @@
if strip.type == 'MOVIE':
- print("movie", strip.frame_start)
+ #print("movie", strip.frame_start)
path = strip.filepath
#print(path)
data_exists = False
@@ -1506,7 +1506,7 @@
- strip.animation_offset_start
tin = strip.frame_offset_start + strip.frame_start
tout = tin + strip.frame_final_duration
- print(newstrip.frame_start, strip.frame_start, tin, tout)
+ #print(newstrip.frame_start, strip.frame_start, tin, tout)
functions.triminout(newstrip, tin, tout)
except:
self.report({'ERROR_INVALID_INPUT'}, 'Error loading file')
@@ -1528,14 +1528,14 @@
#clip.frame_final_duration = strip.frame_final_duration
tin = strip.frame_offset_start + strip.frame_start
tout = tin + strip.frame_final_duration
- print(newstrip.frame_start, strip.frame_start, tin, tout)
+ #print(newstrip.frame_start, strip.frame_start, tin, tout)
functions.triminout(clip, tin, tout)
except:
self.report({'ERROR_INVALID_INPUT'}, 'Error loading file')
return {'CANCELLED'}
elif strip.type == 'IMAGE':
- print("image")
+ #print("image")
base_dir = bpy.path.abspath(strip.directory)
scn.frame_current = strip.frame_start - strip.animation_offset_start
# searching for the first frame of the sequencer. This is mandatory
@@ -1543,14 +1543,14 @@
# avoiding to create a new movie clip if not needed
filename = sorted(os.listdir(base_dir))[0]
path = os.path.join(base_dir,filename)
- print(path)
+ #print(path)
data_exists = False
for i in bpy.data.movieclips:
- print(i.filepath, path)
+ #print(i.filepath, path)
if i.filepath == path:
data_exists = True
data = i
- print(data_exists)
+ #print(data_exists)
if data_exists == False:
try:
data = bpy.data.movieclips.load(filepath=path)
@@ -1563,7 +1563,7 @@
clip = bpy.context.scene.sequence_editor.sequences[newstrip.name]
tin = strip.frame_offset_start + strip.frame_start
tout = tin + strip.frame_final_duration
- print(newstrip.frame_start, strip.frame_start, tin, tout)
+ #print(newstrip.frame_start, strip.frame_start, tin, tout)
functions.triminout(clip, tin, tout)
except:
self.report({'ERROR_INVALID_INPUT'}, 'Error loading filetin')
@@ -1585,7 +1585,7 @@
#clip.frame_final_duration = strip.frame_final_duration
tin = strip.frame_offset_start + strip.frame_start
tout = tin + strip.frame_final_duration
- print(newstrip.frame_start, strip.frame_start, tin, tout)
+ #print(newstrip.frame_start, strip.frame_start, tin, tout)
functions.triminout(clip, tin, tout)
except:
self.report({'ERROR_INVALID_INPUT'}, 'Error loading filete')
More information about the Bf-extensions-cvs
mailing list