remove warning left in by mistake and comment unused function.

This commit is contained in:
Campbell Barton 2011-02-25 02:27:54 +00:00
parent 4b4281f2e2
commit 18c7354bd2
2 changed files with 4 additions and 2 deletions

View 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))
{

View 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