[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29450] branches/render25: Render Branch: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/ blender -r29432:29449
Campbell Barton
ideasman42 at gmail.com
Mon Jun 14 17:12:17 CEST 2010
Revision: 29450
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29450
Author: campbellbarton
Date: 2010-06-14 17:12:16 +0200 (Mon, 14 Jun 2010)
Log Message:
-----------
Render Branch: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r29432:29449
Modified Paths:
--------------
branches/render25/release/scripts/io/export_3ds.py
branches/render25/release/scripts/io/export_fbx.py
branches/render25/release/scripts/io/export_mdd.py
branches/render25/release/scripts/io/export_obj.py
branches/render25/release/scripts/io/export_ply.py
branches/render25/release/scripts/io/export_x3d.py
branches/render25/release/scripts/io/import_anim_bvh.py
branches/render25/release/scripts/io/import_scene_3ds.py
branches/render25/release/scripts/io/import_scene_obj.py
branches/render25/release/scripts/io/import_shape_mdd.py
branches/render25/release/scripts/io/netrender/operators.py
branches/render25/release/scripts/io/netrender/utils.py
branches/render25/release/scripts/modules/bpy_types.py
branches/render25/release/scripts/modules/graphviz_export.py
branches/render25/release/scripts/modules/rna_prop_ui.py
branches/render25/release/scripts/op/image.py
branches/render25/release/scripts/op/presets.py
branches/render25/release/scripts/op/uv.py
branches/render25/release/scripts/op/wm.py
branches/render25/release/scripts/presets/interaction/maya.py
branches/render25/release/scripts/templates/operator.py
branches/render25/release/scripts/ui/properties_data_armature_rigify.py
branches/render25/release/scripts/ui/properties_data_curve.py
branches/render25/release/scripts/ui/properties_data_modifier.py
branches/render25/release/scripts/ui/properties_object.py
branches/render25/release/scripts/ui/properties_scene.py
branches/render25/release/scripts/ui/space_info.py
branches/render25/release/scripts/ui/space_userpref.py
branches/render25/release/scripts/ui/space_userpref_keymap.py
branches/render25/release/scripts/ui/space_view3d.py
branches/render25/release/scripts/ui/space_view3d_toolbar.py
branches/render25/source/blender/blenkernel/intern/anim.c
branches/render25/source/blender/blenkernel/intern/packedFile.c
branches/render25/source/blender/editors/animation/anim_channels_defines.c
branches/render25/source/blender/editors/curve/editfont.c
branches/render25/source/blender/editors/mesh/mesh_data.c
branches/render25/source/blender/editors/object/object_modifier.c
branches/render25/source/blender/editors/object/object_ops.c
branches/render25/source/blender/editors/render/render_shading.c
branches/render25/source/blender/editors/screen/screendump.c
branches/render25/source/blender/editors/sculpt_paint/paint_ops.c
branches/render25/source/blender/editors/sound/sound_ops.c
branches/render25/source/blender/editors/space_buttons/buttons_ops.c
branches/render25/source/blender/editors/space_console/space_console.c
branches/render25/source/blender/editors/space_file/file_ops.c
branches/render25/source/blender/editors/space_file/file_panels.c
branches/render25/source/blender/editors/space_file/filesel.c
branches/render25/source/blender/editors/space_graph/graph_edit.c
branches/render25/source/blender/editors/space_image/image_ops.c
branches/render25/source/blender/editors/space_image/space_image.c
branches/render25/source/blender/editors/space_info/info_ops.c
branches/render25/source/blender/editors/space_node/node_draw.c
branches/render25/source/blender/editors/space_node/node_edit.c
branches/render25/source/blender/editors/space_node/space_node.c
branches/render25/source/blender/editors/space_script/script_edit.c
branches/render25/source/blender/editors/space_script/script_ops.c
branches/render25/source/blender/editors/space_sequencer/sequencer_add.c
branches/render25/source/blender/editors/space_sequencer/space_sequencer.c
branches/render25/source/blender/editors/space_text/space_text.c
branches/render25/source/blender/editors/space_text/text_ops.c
branches/render25/source/blender/editors/space_view3d/space_view3d.c
branches/render25/source/blender/editors/space_view3d/view3d_ops.c
branches/render25/source/blender/editors/transform/transform_ops.c
branches/render25/source/blender/makesdna/DNA_camera_types.h
branches/render25/source/blender/makesdna/DNA_scene_types.h
branches/render25/source/blender/makesrna/RNA_access.h
branches/render25/source/blender/makesrna/intern/rna_access.c
branches/render25/source/blender/makesrna/intern/rna_curve.c
branches/render25/source/blender/makesrna/intern/rna_image_api.c
branches/render25/source/blender/makesrna/intern/rna_main_api.c
branches/render25/source/blender/makesrna/intern/rna_modifier.c
branches/render25/source/blender/makesrna/intern/rna_screen.c
branches/render25/source/blender/python/generic/mathutils.c
branches/render25/source/blender/python/intern/bpy_rna.c
branches/render25/source/blender/windowmanager/WM_api.h
branches/render25/source/blender/windowmanager/WM_types.h
branches/render25/source/blender/windowmanager/intern/wm_event_system.c
branches/render25/source/blender/windowmanager/intern/wm_files.c
branches/render25/source/blender/windowmanager/intern/wm_init_exit.c
branches/render25/source/blender/windowmanager/intern/wm_operators.c
branches/render25/source/blender/windowmanager/intern/wm_window.c
branches/render25/source/gameengine/Ketsji/KX_GameObject.cpp
branches/render25/source/gameengine/Ketsji/KX_ObjectActuator.cpp
Modified: branches/render25/release/scripts/io/export_3ds.py
===================================================================
--- branches/render25/release/scripts/io/export_3ds.py 2010-06-14 15:02:16 UTC (rev 29449)
+++ branches/render25/release/scripts/io/export_3ds.py 2010-06-14 15:12:16 UTC (rev 29450)
@@ -1123,11 +1123,11 @@
# filename = StringProperty(name="File Name", description="File name used for exporting the 3DS file", maxlen= 1024, default= ""),
- path = StringProperty(name="File Path", description="File path used for exporting the 3DS file", maxlen= 1024, default= "")
+ filepath = StringProperty(name="File Path", description="Filepath used for exporting the 3DS file", maxlen= 1024, default= "")
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
def execute(self, context):
- save_3ds(self.properties.path, context)
+ save_3ds(self.properties.filepath, context)
return {'FINISHED'}
def invoke(self, context, event):
@@ -1142,7 +1142,7 @@
# Add to a menu
def menu_func(self, context):
default_path = bpy.data.filepath.replace(".blend", ".3ds")
- self.layout.operator(Export3DS.bl_idname, text="3D Studio (.3ds)").path = default_path
+ self.layout.operator(Export3DS.bl_idname, text="3D Studio (.3ds)").filepath = default_path
def register():
Modified: branches/render25/release/scripts/io/export_fbx.py
===================================================================
--- branches/render25/release/scripts/io/export_fbx.py 2010-06-14 15:02:16 UTC (rev 29449)
+++ branches/render25/release/scripts/io/export_fbx.py 2010-06-14 15:12:16 UTC (rev 29450)
@@ -3335,7 +3335,7 @@
# to the class instance from the operator settings before calling.
- path = StringProperty(name="File Path", description="File path used for exporting the FBX file", maxlen= 1024, default="")
+ filepath = StringProperty(name="File Path", description="Filepath used for exporting the FBX file", maxlen= 1024, default="")
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
EXP_OBS_SELECTED = BoolProperty(name="Selected Objects", description="Export selected objects on visible layers", default=True)
@@ -3369,8 +3369,8 @@
return context.active_object
def execute(self, context):
- if not self.properties.path:
- raise Exception("path not set")
+ if not self.properties.filepath:
+ raise Exception("filepath not set")
GLOBAL_MATRIX = mtx4_identity
GLOBAL_MATRIX[0][0] = GLOBAL_MATRIX[1][1] = GLOBAL_MATRIX[2][2] = self.properties.TX_SCALE
@@ -3378,7 +3378,7 @@
if self.properties.TX_YROT90: GLOBAL_MATRIX = mtx4_y90n * GLOBAL_MATRIX
if self.properties.TX_ZROT90: GLOBAL_MATRIX = mtx4_z90n * GLOBAL_MATRIX
- write(self.properties.path,
+ write(self.properties.filepath,
None, # XXX
context,
self.properties.EXP_OBS_SELECTED,
@@ -3411,7 +3411,7 @@
# if __name__ == "__main__":
-# bpy.ops.EXPORT_OT_ply(path="/tmp/test.ply")
+# bpy.ops.EXPORT_OT_ply(filepath="/tmp/test.ply")
# NOTES (all line numbers correspond to original export_fbx.py (under release/scripts)
@@ -3439,7 +3439,7 @@
def menu_func(self, context):
default_path = bpy.data.filepath.replace(".blend", ".fbx")
- self.layout.operator(ExportFBX.bl_idname, text="Autodesk FBX (.fbx)").path = default_path
+ self.layout.operator(ExportFBX.bl_idname, text="Autodesk FBX (.fbx)").filepath = default_path
def register():
Modified: branches/render25/release/scripts/io/export_mdd.py
===================================================================
--- branches/render25/release/scripts/io/export_mdd.py 2010-06-14 15:02:16 UTC (rev 29449)
+++ branches/render25/release/scripts/io/export_mdd.py 2010-06-14 15:12:16 UTC (rev 29450)
@@ -159,7 +159,7 @@
# List of operator properties, the attributes will be assigned
# to the class instance from the operator settings before calling.
- path = StringProperty(name="File Path", description="File path used for exporting the MDD file", maxlen=1024)
+ filepath = StringProperty(name="File Path", description="Filepath used for exporting the MDD file", maxlen=1024)
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
fps = IntProperty(name="Frames Per Second", description="Number of frames/second", min=minfps, max=maxfps, default=25)
frame_start = IntProperty(name="Start Frame", description="Start frame for baking", min=minframe, max=maxframe, default=1)
@@ -170,9 +170,9 @@
return (ob and ob.type == 'MESH')
def execute(self, context):
- if not self.properties.path:
+ if not self.properties.filepath:
raise Exception("filename not set")
- write(self.properties.path, context.scene, context.active_object,
+ write(self.properties.filepath, context.scene, context.active_object,
self.properties.frame_start, self.properties.frame_end, self.properties.fps)
return {'FINISHED'}
@@ -184,7 +184,7 @@
def menu_func(self, context):
default_path = bpy.data.filepath.replace(".blend", ".mdd")
- self.layout.operator(ExportMDD.bl_idname, text="Lightwave Point Cache (.mdd)").path = default_path
+ self.layout.operator(ExportMDD.bl_idname, text="Lightwave Point Cache (.mdd)").filepath = default_path
def register():
Modified: branches/render25/release/scripts/io/export_obj.py
===================================================================
--- branches/render25/release/scripts/io/export_obj.py 2010-06-14 15:02:16 UTC (rev 29449)
+++ branches/render25/release/scripts/io/export_obj.py 2010-06-14 15:12:16 UTC (rev 29450)
@@ -900,7 +900,7 @@
# List of operator properties, the attributes will be assigned
# to the class instance from the operator settings before calling.
- path = StringProperty(name="File Path", description="File path used for exporting the OBJ file", maxlen= 1024, default= "")
+ filepath = StringProperty(name="File Path", description="Filepath used for exporting the OBJ file", maxlen= 1024, default= "")
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
# context group
@@ -932,11 +932,11 @@
def execute(self, context):
- path = self.properties.path
- if not path.lower().endswith(".obj"):
- path += ".obj"
+ filepath = self.properties.filepath
+ if not filepath.lower().endswith(".obj"):
+ filepath += ".obj"
- do_export(path, context,
+ do_export(filepath, context,
EXPORT_TRI=self.properties.use_triangles,
EXPORT_EDGES=self.properties.use_edges,
EXPORT_NORMALS=self.properties.use_normals,
@@ -965,7 +965,7 @@
def menu_func(self, context):
default_path = bpy.data.filepath.replace(".blend", ".obj")
- self.layout.operator(ExportOBJ.bl_idname, text="Wavefront (.obj)").path = default_path
+ self.layout.operator(ExportOBJ.bl_idname, text="Wavefront (.obj)").filepath = default_path
def register():
Modified: branches/render25/release/scripts/io/export_ply.py
===================================================================
--- branches/render25/release/scripts/io/export_ply.py 2010-06-14 15:02:16 UTC (rev 29449)
+++ branches/render25/release/scripts/io/export_ply.py 2010-06-14 15:12:16 UTC (rev 29450)
@@ -267,7 +267,7 @@
# to the class instance from the operator settings before calling.
- path = StringProperty(name="File Path", description="File path used for exporting the PLY file", maxlen=1024, default="")
+ filepath = StringProperty(name="File Path", description="Filepath used for exporting the PLY file", maxlen=1024, default="")
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
use_modifiers = BoolProperty(name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default=True)
use_normals = BoolProperty(name="Normals", description="Export Normals for smooth and hard shaded faces", default=True)
@@ -280,10 +280,10 @@
def execute(self, context):
# print("Selected: " + context.active_object.name)
- if not self.properties.path:
+ if not self.properties.filepath:
raise Exception("filename not set")
- write(self.properties.path, context.scene, context.active_object,\
+ write(self.properties.filepath, context.scene, context.active_object,\
EXPORT_APPLY_MODIFIERS=self.properties.use_modifiers,
EXPORT_NORMALS=self.properties.use_normals,
EXPORT_UV=self.properties.use_uvs,
@@ -311,7 +311,7 @@
def menu_func(self, context):
default_path = bpy.data.filepath.replace(".blend", ".ply")
- self.layout.operator(ExportPLY.bl_idname, text="Stanford (.ply)").path = default_path
+ self.layout.operator(ExportPLY.bl_idname, text="Stanford (.ply)").filepath = default_path
def register():
Modified: branches/render25/release/scripts/io/export_x3d.py
===================================================================
--- branches/render25/release/scripts/io/export_x3d.py 2010-06-14 15:02:16 UTC (rev 29449)
+++ branches/render25/release/scripts/io/export_x3d.py 2010-06-14 15:12:16 UTC (rev 29450)
@@ -1224,7 +1224,7 @@
# List of operator properties, the attributes will be assigned
# to the class instance from the operator settings before calling.
- path = StringProperty(name="File Path", description="File path used for exporting the X3D file", maxlen= 1024, default= "")
+ filepath = StringProperty(name="File Path", description="Filepath used for exporting the X3D file", maxlen= 1024, default= "")
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list