Merge branch 'blender-v2.83-release'
This commit is contained in:
@@ -628,12 +628,6 @@ if(WITH_PYTHON_MODULE AND WITH_PYTHON_INSTALL)
|
|||||||
message(FATAL_ERROR "WITH_PYTHON_MODULE requires WITH_PYTHON_INSTALL to be OFF")
|
message(FATAL_ERROR "WITH_PYTHON_MODULE requires WITH_PYTHON_INSTALL to be OFF")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
# may as well build python module without a UI
|
|
||||||
if(WITH_PYTHON_MODULE)
|
|
||||||
set(WITH_HEADLESS ON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOT WITH_PYTHON)
|
if(NOT WITH_PYTHON)
|
||||||
set(WITH_CYCLES OFF)
|
set(WITH_CYCLES OFF)
|
||||||
set(WITH_DRACO OFF)
|
set(WITH_DRACO OFF)
|
||||||
|
@@ -129,6 +129,7 @@ static void get_version_string(char *ver, const int max_length)
|
|||||||
version_cycle_number);
|
version_cycle_number);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef WITH_HEADLESS
|
||||||
static void wm_block_splash_image_roundcorners_add(ImBuf *ibuf)
|
static void wm_block_splash_image_roundcorners_add(ImBuf *ibuf)
|
||||||
{
|
{
|
||||||
uchar *rct = (uchar *)ibuf->rect;
|
uchar *rct = (uchar *)ibuf->rect;
|
||||||
@@ -179,6 +180,7 @@ static void wm_block_splash_image_roundcorners_add(ImBuf *ibuf)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* WITH_HEADLESS */
|
||||||
|
|
||||||
static ImBuf *wm_block_splash_image(int width, int *r_height)
|
static ImBuf *wm_block_splash_image(int width, int *r_height)
|
||||||
{
|
{
|
||||||
@@ -219,6 +221,7 @@ static ImBuf *wm_block_splash_image(int width, int *r_height)
|
|||||||
|
|
||||||
return ibuf;
|
return ibuf;
|
||||||
#else
|
#else
|
||||||
|
UNUSED_VARS(width, r_height);
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user