Cleanup: quiet warnings w/o Python
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
/** \name Manipulator API
|
||||
* \{ */
|
||||
|
||||
#ifdef WITH_PYTHON
|
||||
static void rna_manipulator_draw_cb(
|
||||
const struct bContext *C, struct wmManipulator *mpr)
|
||||
{
|
||||
@@ -238,6 +239,8 @@ static void rna_manipulator_select_refresh_cb(
|
||||
RNA_parameter_list_free(&list);
|
||||
}
|
||||
|
||||
#endif /* WITH_PYTHON */
|
||||
|
||||
/* just to work around 'const char *' warning and to ensure this is a python op */
|
||||
static void rna_Manipulator_bl_idname_set(PointerRNA *ptr, const char *value)
|
||||
{
|
||||
|
||||
@@ -506,7 +506,7 @@ static void wm_file_read_post(bContext *C, const bool is_startup_file, const boo
|
||||
addons_loaded = true;
|
||||
}
|
||||
#else
|
||||
UNUSED_VARS(use_userdef);
|
||||
UNUSED_VARS(is_startup_file, use_userdef);
|
||||
#endif /* WITH_PYTHON */
|
||||
|
||||
WM_operatortype_last_properties_clear_all();
|
||||
|
||||
Reference in New Issue
Block a user