Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release/datafiles/startup.blendbin650648 -> 627236 bytes
-rw-r--r--release/scripts/startup/bl_app_templates_system/2D_Animation/startup.blendbin568720 -> 575756 bytes
-rw-r--r--release/scripts/startup/bl_app_templates_system/Sculpting/__init__.py24
-rw-r--r--release/scripts/startup/bl_app_templates_system/Sculpting/startup.blendbin0 -> 394852 bytes
-rw-r--r--release/scripts/startup/bl_app_templates_system/VFX/startup.blendbin525256 -> 505236 bytes
-rw-r--r--release/scripts/startup/bl_app_templates_system/Video_Editing/startup.blendbin432876 -> 405320 bytes
-rw-r--r--release/scripts/startup/bl_operators/wm.py1
-rw-r--r--source/blender/blenloader/intern/versioning_defaults.c1
8 files changed, 26 insertions, 0 deletions
diff --git a/release/datafiles/startup.blend b/release/datafiles/startup.blend
index 8caec075138..c37e1199e58 100644
--- a/release/datafiles/startup.blend
+++ b/release/datafiles/startup.blend
Binary files differ
diff --git a/release/scripts/startup/bl_app_templates_system/2D_Animation/startup.blend b/release/scripts/startup/bl_app_templates_system/2D_Animation/startup.blend
index 3f77afa4037..70fbe1baae6 100644
--- a/release/scripts/startup/bl_app_templates_system/2D_Animation/startup.blend
+++ b/release/scripts/startup/bl_app_templates_system/2D_Animation/startup.blend
Binary files differ
diff --git a/release/scripts/startup/bl_app_templates_system/Sculpting/__init__.py b/release/scripts/startup/bl_app_templates_system/Sculpting/__init__.py
new file mode 100644
index 00000000000..73fbfa7c7b0
--- /dev/null
+++ b/release/scripts/startup/bl_app_templates_system/Sculpting/__init__.py
@@ -0,0 +1,24 @@
+
+import bpy
+from bpy.app.handlers import persistent
+
+
+@persistent
+def load_handler(dummy):
+ import bpy
+ if bpy.data.filepath == "":
+ # Apply subdivision modifier on startup
+ bpy.ops.object.mode_set(mode='OBJECT')
+ bpy.ops.object.modifier_apply(modifier="Subdivision")
+ bpy.ops.object.mode_set(mode='EDIT')
+ bpy.ops.transform.tosphere(value=1.0)
+ bpy.ops.object.mode_set(mode='SCULPT')
+
+def register():
+ import bpy
+ bpy.app.handlers.load_post.append(load_handler)
+
+def unregister():
+ import bpy
+ bpy.app.handlers.load_post.remove(load_handler)
+
diff --git a/release/scripts/startup/bl_app_templates_system/Sculpting/startup.blend b/release/scripts/startup/bl_app_templates_system/Sculpting/startup.blend
new file mode 100644
index 00000000000..720f1d50a6d
--- /dev/null
+++ b/release/scripts/startup/bl_app_templates_system/Sculpting/startup.blend
Binary files differ
diff --git a/release/scripts/startup/bl_app_templates_system/VFX/startup.blend b/release/scripts/startup/bl_app_templates_system/VFX/startup.blend
index c2cef4e1cdf..43224a7d869 100644
--- a/release/scripts/startup/bl_app_templates_system/VFX/startup.blend
+++ b/release/scripts/startup/bl_app_templates_system/VFX/startup.blend
Binary files differ
diff --git a/release/scripts/startup/bl_app_templates_system/Video_Editing/startup.blend b/release/scripts/startup/bl_app_templates_system/Video_Editing/startup.blend
index 84c3c66f861..8718e2b06b9 100644
--- a/release/scripts/startup/bl_app_templates_system/Video_Editing/startup.blend
+++ b/release/scripts/startup/bl_app_templates_system/Video_Editing/startup.blend
Binary files differ
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 528e1a5f336..52b645685ba 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -2577,6 +2577,7 @@ class WM_MT_splash(Menu):
#sub.prop(userpref.system, "language", text="")
col.label()
+ col.label()
layout.label()
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index a741d0ecc1f..1369c943de9 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -141,6 +141,7 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
/* For all builtin templates shipped with Blender. */
bool builtin_template = !app_template ||
STREQ(app_template, "2D_Animation") ||
+ STREQ(app_template, "Sculpting") ||
STREQ(app_template, "VFX") ||
STREQ(app_template, "Video_Editing");