forked from bartvdbraak/blender
documentation edit to address bmesh py api bug [#30453]
warn when addons are not found when running cmake.
This commit is contained in:
parent
a64ee8433a
commit
f80fa54428
@ -352,15 +352,6 @@ if(WITH_CYCLES OR WITH_CARVE)
|
||||
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)
|
||||
@ -373,6 +364,28 @@ endif()
|
||||
TEST_SSE_SUPPORT(COMPILER_SSE_FLAG COMPILER_SSE2_FLAG)
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# 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
|
||||
|
||||
|
@ -938,6 +938,11 @@ PyDoc_STRVAR(bpy_bm_elem_select_set_doc,
|
||||
"\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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user