remove warning left in by mistake and comment unused function.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 25 Feb 2011 02:27:54 +0000 (02:27 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 25 Feb 2011 02:27:54 +0000 (02:27 +0000)
source/blender/python/generic/IDProp.c
source/creator/CMakeLists.txt

index b9bf0dac09bd9d2f38e5243801445ed46dd1139a..a83359c31f7b9fb3b1bf63f27dd35cbfa66203ba 100644 (file)
@@ -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))
 {
index 53ddc3bef9aa34c5e1cac12d7b13f04e91f62f09..4f4a11a805a862bd1ee142c30387e0ee8d9a3b3a 100644 (file)
@@ -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