[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44859] trunk/blender: documentation edit to address bmesh py api bug [#30453]
Campbell Barton
ideasman42 at gmail.com
Wed Mar 14 01:30:28 CET 2012
Revision: 44859
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44859
Author: campbellbarton
Date: 2012-03-14 00:30:20 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
documentation edit to address bmesh py api bug [#30453]
warn when addons are not found when running cmake.
Modified Paths:
--------------
trunk/blender/CMakeLists.txt
trunk/blender/source/blender/python/bmesh/bmesh_py_types.c
Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt 2012-03-13 23:28:02 UTC (rev 44858)
+++ trunk/blender/CMakeLists.txt 2012-03-14 00:30:20 UTC (rev 44859)
@@ -352,15 +352,6 @@
set(WITH_BOOST ON)
endif()
-if(WITH_INTERNATIONAL)
- if(NOT EXISTS "${CMAKE_SOURCE_DIR}/release/datafiles/locale")
- message(WARNING "Translation path '${CMAKE_SOURCE_DIR}/release/datafiles/locale' is missing, "
- "This is an 'svn external', which are known not to work with bridges to other version "
- "control systems, disabling 'WITH_INTERNATIONAL'.")
- set(WITH_INTERNATIONAL OFF)
- endif()
-endif()
-
# don't store paths to libs for portable distrobution
if(WITH_INSTALL_PORTABLE)
set(CMAKE_SKIP_BUILD_RPATH TRUE)
@@ -374,6 +365,28 @@
#-----------------------------------------------------------------------------
+# Check for valid directories
+# ... svn extern paths can be missing because of svn-git.
+
+if(WITH_INTERNATIONAL)
+ if(NOT EXISTS "${CMAKE_SOURCE_DIR}/release/datafiles/locale")
+ message(WARNING "Translation path '${CMAKE_SOURCE_DIR}/release/datafiles/locale' is missing, "
+ "This is an 'svn external', which are known not to work with bridges to other version "
+ "control systems, disabling 'WITH_INTERNATIONAL'.")
+ set(WITH_INTERNATIONAL OFF)
+ endif()
+endif()
+
+if(WITH_PYTHON)
+ if(NOT EXISTS "${CMAKE_SOURCE_DIR}/release/scripts/addons")
+ message(WARNING "Addons path '${CMAKE_SOURCE_DIR}/release/scripts/addons' is missing, "
+ "This is an 'svn external', which are known not to work with bridges to other version "
+ "control systems: * CONTINUING WITHOUT ADDONS *")
+ set(WITH_INTERNATIONAL OFF)
+ endif()
+endif()
+
+#-----------------------------------------------------------------------------
# Initialize un-cached vars, avoid unused warning
# linux only, not cached
Modified: trunk/blender/source/blender/python/bmesh/bmesh_py_types.c
===================================================================
--- trunk/blender/source/blender/python/bmesh/bmesh_py_types.c 2012-03-13 23:28:02 UTC (rev 44858)
+++ trunk/blender/source/blender/python/bmesh/bmesh_py_types.c 2012-03-14 00:30:20 UTC (rev 44859)
@@ -938,6 +938,11 @@
"\n"
" :arg select: Select or de-select.\n"
" :type select: boolean\n"
+"\n"
+" .. note::\n"
+"\n"
+" Currently this only flushes down, so selecting a face will select all its vertices but de-selecting a vertex "
+" won't de-select all the faces that use it, before finishing with a mesh typically flushing is still needed.\n"
);
static PyObject *bpy_bm_elem_select_set(BPy_BMElem *self, PyObject *value)
{
More information about the Bf-blender-cvs
mailing list