From 18c7354bd24359bfabc9022281b220c1cc2d6b88 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 25 Feb 2011 02:27:54 +0000 Subject: [PATCH] remove warning left in by mistake and comment unused function. --- source/blender/python/generic/IDProp.c | 2 ++ source/creator/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/blender/python/generic/IDProp.c b/source/blender/python/generic/IDProp.c index b9bf0dac09b..a83359c31f7 100644 --- a/source/blender/python/generic/IDProp.c +++ b/source/blender/python/generic/IDProp.c @@ -115,6 +115,7 @@ PyObject *BPy_IDGroup_WrapData( ID *id, IDProperty *prop ) Py_RETURN_NONE; } +#if 0 /* UNUSED, currenly assignment overwrites into new properties, rather then setting in-place */ static int BPy_IDGroup_SetData(BPy_IDProperty *self, IDProperty *prop, PyObject *value) { switch (prop->type) { @@ -183,6 +184,7 @@ static int BPy_IDGroup_SetData(BPy_IDProperty *self, IDProperty *prop, PyObject } return 0; } +#endif static PyObject *BPy_IDGroup_GetName(BPy_IDProperty *self, void *UNUSED(closure)) { diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 53ddc3bef9a..4f4a11a805a 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -133,7 +133,7 @@ if(WITH_BUILDINFO) # include the output directory, where the buildinfo.h file is generated include_directories(${CMAKE_BINARY_DIR}/source/creator) - message(WARNING "${CMAKE_CURRENT_SOURCE_DIR}") + # a custom target that is always built add_custom_target(buildinfo ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/buildinfo.h) @@ -149,7 +149,7 @@ if(WITH_BUILDINFO) PROPERTIES GENERATED TRUE HEADER_FILE_ONLY TRUE) - # add deps below + # add deps below, after adding blender # -------------- done with header values. list(APPEND SRC