[Bf-blender-cvs] [b9b371625d4] blender2.8: GP: Fix template name typo error

Antonioya noreply at git.blender.org
Thu Sep 20 13:20:56 CEST 2018


Commit: b9b371625d4e5697b4e4226e222a45a7f4e7dea5
Author: Antonioya
Date:   Thu Sep 20 13:04:56 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb9b371625d4e5697b4e4226e222a45a7f4e7dea5

GP: Fix template name typo error

===================================================================

M	source/blender/blenloader/intern/versioning_defaults.c

===================================================================

diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index d783d1d54f4..76fb42dc0b6 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -93,7 +93,7 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
 	}
 
 	/* For 2D animation template. */
-	if (app_template && STREQ(app_template, "2D Animation")) {
+	if (app_template && STREQ(app_template, "2D_Animation")) {
 		for (WorkSpace *workspace = bmain->workspaces.first; workspace; workspace = workspace->id.next) {
 			const char *name = workspace->id.name + 2;



More information about the Bf-blender-cvs mailing list