[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53758] trunk/blender/release/scripts/ startup/bl_operators/wm.py: remove 2. 57-windows workaround for WM_OT_copy_prev_settings

Campbell Barton ideasman42 at gmail.com
Sun Jan 13 05:26:07 CET 2013


Revision: 53758
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53758
Author:   campbellbarton
Date:     2013-01-13 04:26:02 +0000 (Sun, 13 Jan 2013)
Log Message:
-----------
remove 2.57-windows workaround for WM_OT_copy_prev_settings

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/wm.py

Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py	2013-01-13 03:48:48 UTC (rev 53757)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py	2013-01-13 04:26:02 UTC (rev 53758)
@@ -1255,13 +1255,6 @@
         else:
             shutil.copytree(path_src, path_dst, symlinks=True)
 
-            # in 2.57 and earlier windows installers, system scripts were copied
-            # into the configuration directory, don't want to copy those
-            system_script = os.path.join(path_dst, "scripts/modules/bpy_types.py")
-            if os.path.isfile(system_script):
-                shutil.rmtree(os.path.join(path_dst, "scripts"))
-                shutil.rmtree(os.path.join(path_dst, "plugins"))
-
             # don't loose users work if they open the splash later.
             if bpy.data.is_saved is bpy.data.is_dirty is False:
                 bpy.ops.wm.read_homefile()




More information about the Bf-blender-cvs mailing list