[Bf-blender-cvs] [17b47b1da7] app-templates: Minor fixes
Campbell Barton
noreply at git.blender.org
Thu Mar 23 09:52:16 CET 2017
Commit: 17b47b1da74d2a9c2124531dbde9575ea8930621
Author: Campbell Barton
Date: Thu Mar 23 19:52:28 2017 +1100
Branches: app-templates
https://developer.blender.org/rB17b47b1da74d2a9c2124531dbde9575ea8930621
Minor fixes
===================================================================
M source/blender/windowmanager/intern/wm_files.c
M source/creator/CMakeLists.txt
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 752d1f4bde..44b5b75763 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1506,7 +1506,6 @@ static int wm_homefile_read_exec(bContext *C, wmOperator *op)
char app_template_buf[sizeof(U.app_template)];
const char *app_template;
- /* const bool is_app_template = !use_factory_settings && RNA_boolean_get(op->ptr, "app_template"); */
PropertyRNA *prop_app_template = RNA_struct_find_property(op->ptr, "app_template");
const bool use_splash = !use_factory_settings && RNA_boolean_get(op->ptr, "use_splash");
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index fe12aa1bd2..eea4554594 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -334,12 +334,6 @@ install(
"file(REMOVE_RECURSE ${TARGETDIR_VER})"
)
-install(
- DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/app_templates
- DESTINATION ${TARGETDIR_VER}/datafiles
- PATTERN "__pycache__" EXCLUDE
-)
-
if(WITH_PYTHON)
# install(CODE "message(\"copying blender scripts...\")")
More information about the Bf-blender-cvs
mailing list