[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24745] trunk/blender/release/scripts/op: moving this file back, sorry for the noise

Campbell Barton ideasman42 at gmail.com
Sun Nov 22 01:18:43 CET 2009


Revision: 24745
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24745
Author:   campbellbarton
Date:     2009-11-22 01:18:43 +0100 (Sun, 22 Nov 2009)

Log Message:
-----------
moving this file back, sorry for the noise

Added Paths:
-----------
    trunk/blender/release/scripts/op/presets.py

Removed Paths:
-------------
    trunk/blender/release/scripts/op/preset_render.py

Deleted: trunk/blender/release/scripts/op/preset_render.py
===================================================================
--- trunk/blender/release/scripts/op/preset_render.py	2009-11-22 00:17:36 UTC (rev 24744)
+++ trunk/blender/release/scripts/op/preset_render.py	2009-11-22 00:18:43 UTC (rev 24745)
@@ -1,46 +0,0 @@
-# ##### BEGIN GPL LICENSE BLOCK #####
-#
-#  This program is free software; you can redistribute it and/or
-#  modify it under the terms of the GNU General Public License
-#  as published by the Free Software Foundation; either version 2
-#  of the License, or (at your option) any later version.
-# 
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-# 
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, write to the Free Software Foundation,
-#  Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-# ##### END GPL LICENSE BLOCK #####
-
-import bpy
-import os
-
-from wm import AddPresetBase
-
-
-class AddPresetRender(AddPresetBase):
-    bl_idname = "render.preset_add"
-    bl_label = "Add Render Preset"
-
-    name = AddPresetBase.name
-
-    preset_values = [
-        "bpy.context.scene.render_data.resolution_x",
-        "bpy.context.scene.render_data.resolution_y",
-        "bpy.context.scene.render_data.pixel_aspect_x",
-        "bpy.context.scene.render_data.pixel_aspect_y",
-        "bpy.context.scene.render_data.fps",
-        "bpy.context.scene.render_data.fps_base",
-        "bpy.context.scene.render_data.resolution_percentage",
-    ]
-
-    preset_path = os.path.join("presets", "render")
-
-
-bpy.ops.add(AddPresetRender)
-
-

Copied: trunk/blender/release/scripts/op/presets.py (from rev 24743, trunk/blender/release/scripts/op/preset_render.py)
===================================================================
--- trunk/blender/release/scripts/op/presets.py	                        (rev 0)
+++ trunk/blender/release/scripts/op/presets.py	2009-11-22 00:18:43 UTC (rev 24745)
@@ -0,0 +1,46 @@
+# ##### BEGIN GPL LICENSE BLOCK #####
+#
+#  This program is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU General Public License
+#  as published by the Free Software Foundation; either version 2
+#  of the License, or (at your option) any later version.
+# 
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+# 
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, write to the Free Software Foundation,
+#  Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+# ##### END GPL LICENSE BLOCK #####
+
+import bpy
+import os
+
+from wm import AddPresetBase
+
+
+class AddPresetRender(AddPresetBase):
+    bl_idname = "render.preset_add"
+    bl_label = "Add Render Preset"
+
+    name = AddPresetBase.name
+
+    preset_values = [
+        "bpy.context.scene.render_data.resolution_x",
+        "bpy.context.scene.render_data.resolution_y",
+        "bpy.context.scene.render_data.pixel_aspect_x",
+        "bpy.context.scene.render_data.pixel_aspect_y",
+        "bpy.context.scene.render_data.fps",
+        "bpy.context.scene.render_data.fps_base",
+        "bpy.context.scene.render_data.resolution_percentage",
+    ]
+
+    preset_path = os.path.join("presets", "render")
+
+
+bpy.ops.add(AddPresetRender)
+
+





More information about the Bf-blender-cvs mailing list