[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35133] trunk/blender/source: remove warning left in by mistake and comment unused function.
Campbell Barton
ideasman42 at gmail.com
Fri Feb 25 03:27:55 CET 2011
Revision: 35133
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35133
Author: campbellbarton
Date: 2011-02-25 02:27:54 +0000 (Fri, 25 Feb 2011)
Log Message:
-----------
remove warning left in by mistake and comment unused function.
Modified Paths:
--------------
trunk/blender/source/blender/python/generic/IDProp.c
trunk/blender/source/creator/CMakeLists.txt
Modified: trunk/blender/source/blender/python/generic/IDProp.c
===================================================================
--- trunk/blender/source/blender/python/generic/IDProp.c 2011-02-25 00:02:08 UTC (rev 35132)
+++ trunk/blender/source/blender/python/generic/IDProp.c 2011-02-25 02:27:54 UTC (rev 35133)
@@ -115,6 +115,7 @@
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 @@
}
return 0;
}
+#endif
static PyObject *BPy_IDGroup_GetName(BPy_IDProperty *self, void *UNUSED(closure))
{
Modified: trunk/blender/source/creator/CMakeLists.txt
===================================================================
--- trunk/blender/source/creator/CMakeLists.txt 2011-02-25 00:02:08 UTC (rev 35132)
+++ trunk/blender/source/creator/CMakeLists.txt 2011-02-25 02:27:54 UTC (rev 35133)
@@ -133,7 +133,7 @@
# 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 @@
PROPERTIES GENERATED TRUE
HEADER_FILE_ONLY TRUE)
- # add deps below
+ # add deps below, after adding blender
# -------------- done with header values.
list(APPEND SRC
More information about the Bf-blender-cvs
mailing list