diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-25 05:27:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-25 05:27:54 +0300 |
commit | 18c7354bd24359bfabc9022281b220c1cc2d6b88 (patch) | |
tree | 7ca0bd471151b2402cf5188ab34789a3e8cd5c57 /source | |
parent | 4b4281f2e215f97092baf105a7304a9b775a372f (diff) |
remove warning left in by mistake and comment unused function.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/generic/IDProp.c | 2 | ||||
-rw-r--r-- | 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 |