205 ot->
name =
"Add Material Slot";
206 ot->
idname =
"OBJECT_OT_material_slot_add";
256 ot->
name =
"Remove Material Slot";
257 ot->
idname =
"OBJECT_OT_material_slot_remove";
277 bool changed_multi =
false;
282 uint objects_len = 0;
284 for (
uint ob_index = 0; ob_index < objects_len; ob_index++) {
285 Object *ob = objects[ob_index];
286 short mat_nr_active = -1;
294 mat_nr_active = obact->
actcol - 1;
299 for (
int i = 0; i < ob->
totcol; i++) {
301 if (mat_active == mat) {
306 if (mat_nr_active == -1) {
311 bool changed =
false;
321 efa->
mat_nr = mat_nr_active;
331 for (nu = nurbs->
first; nu; nu = nu->
next) {
334 nu->
mat_nr = mat_nr_active;
341 int i, selstart, selend;
344 for (i = selstart; i <= selend; i++) {
352 changed_multi =
true;
365 ot->
name =
"Assign Material Slot";
366 ot->
idname =
"OBJECT_OT_material_slot_assign";
367 ot->
description =
"Assign active material slot to selection";
385 bool changed_multi =
false;
389 uint objects_len = 0;
391 for (
uint ob_index = 0; ob_index < objects_len; ob_index++) {
392 Object *ob = objects[ob_index];
393 short mat_nr_active = -1;
401 mat_nr_active = obact->
actcol - 1;
406 for (
int i = 0; i < ob->
totcol; i++) {
408 if (mat_active == mat) {
413 if (mat_nr_active == -1) {
418 bool changed =
false;
435 for (nu = nurbs->
first; nu; nu = nu->
next) {
436 if (nu->
mat_nr == mat_nr_active) {
441 if (bezt->
hide == 0) {
479 changed_multi =
true;
498 ot->
name =
"Select Material Slot";
499 ot->
idname =
"OBJECT_OT_material_slot_select";
517 ot->
name =
"Deselect Material Slot";
518 ot->
idname =
"OBJECT_OT_material_slot_deselect";
549 for (
int i = ob->
totcol; i--;) {
550 matar[i] = ob->
matbits[i] ? (*matar_object)[i] : (*matar_obdata)[i];
557 const bool is_same_obdata = ob->
data == ob_iter->data;
560 if (ob_iter->totcol == ob->
totcol) {
561 ob_iter->actcol = ob->
actcol;
577 ot->
name =
"Copy Material to Selected";
578 ot->
idname =
"OBJECT_OT_material_slot_copy";
603 if (!ob || ob->
totcol < 2) {
608 if (dir == 1 && ob->
actcol > 1) {
609 index_pair[0] = ob->
actcol - 2;
610 index_pair[1] = ob->
actcol - 1;
615 index_pair[0] = ob->
actcol - 1;
616 index_pair[1] = ob->
actcol - 0;
627 slot_remap[index_pair[0]] = index_pair[1];
628 slot_remap[index_pair[1]] = index_pair[0];
644 {1,
"UP", 0,
"Up",
""},
645 {-1,
"DOWN", 0,
"Down",
""},
650 ot->
name =
"Move Material";
651 ot->
idname =
"OBJECT_OT_material_slot_move";
652 ot->
description =
"Move the active material up/down in the list";
666 "Direction to move the active material towards");
687 uint objects_len = 0;
689 for (
uint ob_index = 0; ob_index < objects_len; ob_index++) {
690 Object *ob = objects[ob_index];
692 for (
int slot = 1; slot <= ob->
totcol; slot++) {
697 if (actcol >= slot) {
732 ot->
name =
"Remove Unused Slots";
733 ot->
idname =
"OBJECT_OT_material_slot_remove_unused";
769 const char *name =
DATA_(
"Material");
806 ot->
name =
"New Material";
957 {
VIEWLAYER_ADD_COPY,
"COPY", 0,
"Copy Settings",
"Copy settings of current view layer"},
962 "Add a new view layer with all collections disabled"},
967 ot->
name =
"Add View Layer";
968 ot->
idname =
"SCENE_OT_view_layer_add";
1012 ot->
name =
"Remove View Layer";
1013 ot->
idname =
"SCENE_OT_view_layer_remove";
1062 ot->
idname =
"SCENE_OT_view_layer_add_aov";
1114 ot->
idname =
"SCENE_OT_view_layer_remove_aov";
1170 switch (event->
type) {
1200 short stop = 0, do_update;
1253 "Bake both irradiance grids and reflection cubemaps"},
1258 "Only bake light probes that are marked as dirty"},
1263 "Try to only bake reflection cubemaps if irradiance grids are up to date"},
1268 ot->
name =
"Bake Light Cache";
1269 ot->
idname =
"SCENE_OT_light_cache_bake";
1284 "Delay in millisecond before baking starts",
1290 ot->
srna,
"subset", light_cache_subset_items, 0,
"Subset",
"Subset of probes to update");
1334 ot->
name =
"Delete Light Cache";
1335 ot->
idname =
"SCENE_OT_light_cache_free";
1372 ot->
name =
"Add Render View";
1373 ot->
idname =
"SCENE_OT_render_view_add";
1406 ot->
name =
"Remove Render View";
1407 ot->
idname =
"SCENE_OT_render_view_remove";
1420 #ifdef WITH_FREESTYLE
1431 "No active lineset and associated line style to manipulate the modifier");
1437 "The active lineset does not have a line style (indicating data corruption)");
1444 static bool freestyle_active_module_poll(
bContext *
C)
1467 ot->
name =
"Add Freestyle Module";
1468 ot->
idname =
"SCENE_OT_freestyle_module_add";
1469 ot->
description =
"Add a style module into the list of modules";
1472 ot->
exec = freestyle_module_add_exec;
1502 ot->
name =
"Remove Freestyle Module";
1503 ot->
idname =
"SCENE_OT_freestyle_module_remove";
1507 ot->
poll = freestyle_active_module_poll;
1508 ot->
exec = freestyle_module_remove_exec;
1539 {-1,
"UP", 0,
"Up",
""},
1540 {1,
"DOWN", 0,
"Down",
""},
1545 ot->
name =
"Move Freestyle Module";
1546 ot->
idname =
"SCENE_OT_freestyle_module_move";
1547 ot->
description =
"Change the position of the style module within in the list of style modules";
1550 ot->
poll = freestyle_active_module_poll;
1551 ot->
exec = freestyle_module_move_exec;
1562 "Direction to move the chosen style module towards");
1588 ot->
name =
"Add Line Set";
1589 ot->
idname =
"SCENE_OT_freestyle_lineset_add";
1590 ot->
description =
"Add a line set into the list of line sets";
1593 ot->
exec = freestyle_lineset_add_exec;
1605 static bool freestyle_active_lineset_poll(
bContext *
C)
1628 ot->
name =
"Copy Line Set";
1629 ot->
idname =
"SCENE_OT_freestyle_lineset_copy";
1633 ot->
exec = freestyle_lineset_copy_exec;
1634 ot->
poll = freestyle_active_lineset_poll;
1662 ot->
name =
"Paste Line Set";
1663 ot->
idname =
"SCENE_OT_freestyle_lineset_paste";
1664 ot->
description =
"Paste the buffer content to the active line set";
1667 ot->
exec = freestyle_lineset_paste_exec;
1668 ot->
poll = freestyle_active_lineset_poll;
1696 ot->
name =
"Remove Line Set";
1697 ot->
idname =
"SCENE_OT_freestyle_lineset_remove";
1698 ot->
description =
"Remove the active line set from the list of line sets";
1701 ot->
exec = freestyle_lineset_remove_exec;
1702 ot->
poll = freestyle_active_lineset_poll;
1731 {-1,
"UP", 0,
"Up",
""},
1732 {1,
"DOWN", 0,
"Down",
""},
1737 ot->
name =
"Move Line Set";
1738 ot->
idname =
"SCENE_OT_freestyle_lineset_move";
1739 ot->
description =
"Change the position of the active line set within the list of line sets";
1742 ot->
exec = freestyle_lineset_move_exec;
1743 ot->
poll = freestyle_active_lineset_poll;
1754 "Direction to move the active line set towards");
1789 ot->
name =
"New Line Style";
1790 ot->
idname =
"SCENE_OT_freestyle_linestyle_new";
1791 ot->
description =
"Create a new line style, reusable by multiple line sets";
1794 ot->
exec = freestyle_linestyle_new_exec;
1795 ot->
poll = freestyle_active_lineset_poll;
1813 if (!freestyle_linestyle_check_report(lineset, op->
reports)) {
1830 ot->
name =
"Add Line Color Modifier";
1831 ot->
idname =
"SCENE_OT_freestyle_color_modifier_add";
1833 "Add a line color modifier to the line style associated with the active lineset";
1837 ot->
exec = freestyle_color_modifier_add_exec;
1838 ot->
poll = freestyle_active_lineset_poll;
1860 if (!freestyle_linestyle_check_report(lineset, op->
reports)) {
1877 ot->
name =
"Add Alpha Transparency Modifier";
1878 ot->
idname =
"SCENE_OT_freestyle_alpha_modifier_add";
1880 "Add an alpha transparency modifier to the line style associated with the active lineset";
1884 ot->
exec = freestyle_alpha_modifier_add_exec;
1885 ot->
poll = freestyle_active_lineset_poll;
1907 if (!freestyle_linestyle_check_report(lineset, op->
reports)) {
1924 ot->
name =
"Add Line Thickness Modifier";
1925 ot->
idname =
"SCENE_OT_freestyle_thickness_modifier_add";
1927 "Add a line thickness modifier to the line style associated with the active lineset";
1931 ot->
exec = freestyle_thickness_modifier_add_exec;
1932 ot->
poll = freestyle_active_lineset_poll;
1954 if (!freestyle_linestyle_check_report(lineset, op->
reports)) {
1971 ot->
name =
"Add Stroke Geometry Modifier";
1972 ot->
idname =
"SCENE_OT_freestyle_geometry_modifier_add";
1974 "Add a stroke geometry modifier to the line style associated with the active lineset";
1978 ot->
exec = freestyle_geometry_modifier_add_exec;
1979 ot->
poll = freestyle_active_lineset_poll;
2019 if (!freestyle_linestyle_check_report(lineset, op->
reports)) {
2023 switch (freestyle_get_modifier_type(&
ptr)) {
2038 op->
reports,
RPT_ERROR,
"The object the data pointer refers to is not a valid modifier");
2050 ot->
name =
"Remove Modifier";
2051 ot->
idname =
"SCENE_OT_freestyle_modifier_remove";
2052 ot->
description =
"Remove the modifier from the list of modifiers";
2055 ot->
exec = freestyle_modifier_remove_exec;
2056 ot->
poll = freestyle_active_lineset_poll;
2075 if (!freestyle_linestyle_check_report(lineset, op->
reports)) {
2079 switch (freestyle_get_modifier_type(&
ptr)) {
2094 op->
reports,
RPT_ERROR,
"The object the data pointer refers to is not a valid modifier");
2106 ot->
name =
"Copy Modifier";
2107 ot->
idname =
"SCENE_OT_freestyle_modifier_copy";
2108 ot->
description =
"Duplicate the modifier within the list of modifiers";
2111 ot->
exec = freestyle_modifier_copy_exec;
2112 ot->
poll = freestyle_active_lineset_poll;
2131 bool changed =
false;
2133 if (!freestyle_linestyle_check_report(lineset, op->
reports)) {
2137 switch (freestyle_get_modifier_type(&
ptr)) {
2152 op->
reports,
RPT_ERROR,
"The object the data pointer refers to is not a valid modifier");
2167 {-1,
"UP", 0,
"Up",
""},
2168 {1,
"DOWN", 0,
"Down",
""},
2173 ot->
name =
"Move Modifier";
2174 ot->
idname =
"SCENE_OT_freestyle_modifier_move";
2175 ot->
description =
"Move the modifier within the list of modifiers";
2178 ot->
exec = freestyle_modifier_move_exec;
2179 ot->
poll = freestyle_active_lineset_poll;
2190 "Direction to move the chosen modifier towards");
2218 ot->
name =
"Create Freestyle Stroke Material";
2219 ot->
idname =
"SCENE_OT_freestyle_stroke_material_create";
2220 ot->
description =
"Create Freestyle stroke material for testing";
2223 ot->
exec = freestyle_stroke_material_create_exec;
2242 MTex **mtex_ar, *mtexswap;
2251 mtexswap = mtex_ar[act];
2252 mtex_ar[act] = mtex_ar[act - 1];
2253 mtex_ar[act - 1] = mtexswap;
2264 mtexswap = mtex_ar[act];
2265 mtex_ar[act] = mtex_ar[act + 1];
2266 mtex_ar[act + 1] = mtexswap;
2286 {-1,
"UP", 0,
"Up",
""},
2287 {1,
"DOWN", 0,
"Down",
""},
2292 ot->
name =
"Move Texture Slot";
2293 ot->
idname =
"TEXTURE_OT_slot_move";
2328 ot->
name =
"Copy Material";
2365 ot->
name =
"Paste Material";
2405 if (mtex && *mtex) {
2435 if (*mtex ==
NULL) {
2438 else if ((*mtex)->tex) {
2473 return (
id !=
NULL);
2479 ot->
name =
"Copy Texture Slot Settings";
2480 ot->
idname =
"TEXTURE_OT_slot_copy";
2481 ot->
description =
"Copy the material texture settings and nodes";
2542 ot->
name =
"Paste Texture Slot Settings";
2543 ot->
idname =
"TEXTURE_OT_slot_paste";
struct AnimData * BKE_animdata_from_id(struct ID *id)
void BKE_animdata_fix_paths_rename(struct ID *owner_id, struct AnimData *adt, struct ID *ref_id, const char *prefix, const char *oldName, const char *newName, int oldSubscript, int newSubscript, bool verify_paths)
struct Scene * CTX_data_scene(const bContext *C)
struct Object * CTX_data_edit_object(const bContext *C)
struct wmWindowManager * CTX_wm_manager(const bContext *C)
#define CTX_DATA_BEGIN(C, Type, instance, member)
PointerRNA CTX_data_pointer_get_type(const bContext *C, const char *member, StructRNA *type)
struct ViewLayer * CTX_data_view_layer(const bContext *C)
struct Object * CTX_data_active_object(const bContext *C)
struct View3D * CTX_wm_view3d(const bContext *C)
struct Depsgraph * CTX_data_depsgraph_pointer(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
struct wmWindow * CTX_wm_window(const bContext *C)
struct ListBase * BKE_curve_editNurbs_get(struct Curve *cu)
BMEditMesh * BKE_editmesh_from_object(struct Object *ob)
Return the BMEditMesh for a given object.
int BKE_vfont_select_get(struct Object *ob, int *r_start, int *r_end)
struct FreestyleModuleConfig * BKE_freestyle_module_add(struct FreestyleConfig *config)
struct FreestyleLineSet * BKE_freestyle_lineset_add(struct Main *bmain, struct FreestyleConfig *config, const char *name)
struct FreestyleLineSet * BKE_freestyle_lineset_get_active(struct FreestyleConfig *config)
bool BKE_freestyle_module_move(struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf, int direction)
bool BKE_freestyle_module_delete(struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf)
struct ViewLayer * BKE_view_layer_add(struct Scene *scene, const char *name, struct ViewLayer *view_layer_source, const int type)
void BKE_view_layer_verify_aov(struct RenderEngine *engine, struct Scene *scene, struct ViewLayer *view_layer)
struct ViewLayerAOV * BKE_view_layer_add_aov(struct ViewLayer *view_layer)
void BKE_view_layer_remove_aov(struct ViewLayer *view_layer, struct ViewLayerAOV *aov)
struct ID * BKE_id_copy(struct Main *bmain, const struct ID *id)
void id_us_min(struct ID *id)
struct ID * BKE_id_copy_ex(struct Main *bmain, const struct ID *id, struct ID **r_newid, const int flag)
void id_us_plus(struct ID *id)
Blender kernel freestyle line style functionality.
int BKE_linestyle_alpha_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
FreestyleLineStyle * BKE_linestyle_active_from_view_layer(struct ViewLayer *view_layer)
int BKE_linestyle_color_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
LineStyleModifier * BKE_linestyle_geometry_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
LineStyleModifier * BKE_linestyle_geometry_modifier_copy(FreestyleLineStyle *linestyle, const LineStyleModifier *m, const int flag)
bool BKE_linestyle_thickness_modifier_move(FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
#define LS_MODIFIER_TYPE_COLOR
#define LS_MODIFIER_TYPE_ALPHA
LineStyleModifier * BKE_linestyle_color_modifier_copy(FreestyleLineStyle *linestyle, const LineStyleModifier *m, const int flag)
bool BKE_linestyle_color_modifier_move(FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
LineStyleModifier * BKE_linestyle_thickness_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
LineStyleModifier * BKE_linestyle_color_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
int BKE_linestyle_thickness_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
#define LS_MODIFIER_TYPE_GEOMETRY
bool BKE_linestyle_alpha_modifier_move(FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
FreestyleLineStyle * BKE_linestyle_new(struct Main *bmain, const char *name)
bool BKE_linestyle_geometry_modifier_move(FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
LineStyleModifier * BKE_linestyle_thickness_modifier_copy(FreestyleLineStyle *linestyle, const LineStyleModifier *m, const int flag)
#define LS_MODIFIER_TYPE_THICKNESS
LineStyleModifier * BKE_linestyle_alpha_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
LineStyleModifier * BKE_linestyle_alpha_modifier_copy(FreestyleLineStyle *linestyle, const LineStyleModifier *m, const int flag)
int BKE_linestyle_geometry_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
General operations, lookup, etc. for materials.
struct Material *** BKE_object_material_array_p(struct Object *ob)
bool BKE_object_material_slot_remove(struct Main *bmain, struct Object *ob)
bool BKE_object_material_slot_used(struct ID *id, short actcol)
struct Material * BKE_object_material_get(struct Object *ob, short act)
struct Material * BKE_gpencil_material_add(struct Main *bmain, const char *name)
void BKE_material_copybuf_paste(struct Main *bmain, struct Material *ma)
void BKE_material_copybuf_copy(struct Main *bmain, struct Material *ma)
void BKE_object_material_remap(struct Object *ob, const unsigned int *remap)
struct Material * BKE_material_add(struct Main *bmain, const char *name)
bool BKE_object_material_slot_add(struct Main *bmain, struct Object *ob)
struct Material ** BKE_object_material_get_p(struct Object *ob, short act)
short * BKE_object_material_len_p(struct Object *ob)
void BKE_object_material_array_assign(struct Main *bmain, struct Object *ob, struct Material ***matar, int totcol, const bool to_object_only)
void ntreeCompositUpdateRLayers(struct bNodeTree *ntree)
General operations, lookup, etc. for blender objects.
bool BKE_object_is_in_editmode(const struct Object *ob)
void BKE_report(ReportList *reports, ReportType type, const char *message)
void BKE_reportf(ReportList *reports, ReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
struct SceneRenderView * BKE_scene_add_render_view(struct Scene *sce, const char *name)
bool BKE_scene_remove_render_view(struct Scene *scene, struct SceneRenderView *srv)
bool give_active_mtex(struct ID *id, struct MTex ***mtex_ar, short *act)
void set_active_mtex(struct ID *id, short act)
struct Tex * BKE_texture_add(struct Main *bmain, const char *name)
struct World * BKE_world_add(struct Main *bmain, const char *name)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void range_vn_u(unsigned int *array_tar, const int size, const unsigned int start)
void DEG_id_tag_update(struct ID *id, int flag)
void DEG_relations_tag_update(struct Main *bmain)
@ ID_RECALC_COPY_ON_WRITE
#define ID_IS_LINKED(_id)
#define ID_IS_OVERRIDE_LIBRARY(_id)
Object is a sort of wrapper for general info.
#define OB_TYPE_SUPPORT_MATERIAL(_type)
bool EDBM_deselect_by_material(struct BMEditMesh *em, const short index, const bool select)
void ED_node_shader_default(const struct bContext *C, struct ID *id)
struct Object * ED_object_context(const struct bContext *C)
Object ** ED_object_array_in_mode_or_selected(struct bContext *C, bool(*filter_fn)(struct Object *ob, void *user_data), void *filter_user_data, uint *r_objects_len)
bool ED_paint_proj_mesh_data_check(struct Scene *scene, struct Object *ob, bool *uvs, bool *mat, bool *tex, bool *stencil)
bool ED_scene_view_layer_delete(struct Main *bmain, struct Scene *scene, struct ViewLayer *layer, struct ReportList *reports) ATTR_NONNULL(1
void ED_update_for_newframe(struct Main *bmain, struct Depsgraph *depsgraph)
bool ED_operator_object_active_local_editable_ex(struct bContext *C, const Object *ob)
struct Material * FRS_create_stroke_material(struct Main *bmain, struct FreestyleLineStyle *linestyle)
bool FRS_move_active_lineset(struct FreestyleConfig *config, int direction)
void FRS_paste_active_lineset(struct FreestyleConfig *config)
void FRS_copy_active_lineset(struct FreestyleConfig *config)
void FRS_delete_active_lineset(struct FreestyleConfig *config)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
Read Guarded memory(de)allocation.
StructRNA RNA_LineStyleColorModifier
StructRNA RNA_FreestyleModuleSettings
StructRNA RNA_LineStyleModifier
StructRNA RNA_ParticleSystem
StructRNA RNA_FreestyleLineStyle
StructRNA RNA_LineStyleThicknessModifier
StructRNA RNA_LineStyleAlphaModifier
StructRNA RNA_TextureSlot
StructRNA RNA_LineStyleGeometryModifier
void UI_context_active_but_prop_get_templateID(struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop)
#define ND_RENDER_OPTIONS
#define ND_SHADING_PREVIEW
static struct PyModuleDef module
#define BM_elem_flag_test(ele, hflag)
#define BM_ITER_MESH(ele, iter, bm, itype)
FreestyleLineStyle linestyle
bool ED_curve_nurb_select_check(View3D *v3d, Nurb *nu)
void * EEVEE_lightbake_job_data_alloc(struct Main *bmain, struct ViewLayer *view_layer, struct Scene *scene, bool run_as_job, int frame)
void EEVEE_lightbake_job(void *custom_data, short *stop, short *do_update, float *progress)
wmJob * EEVEE_lightbake_job_create(struct wmWindowManager *wm, struct wmWindow *win, struct Main *bmain, struct ViewLayer *view_layer, struct Scene *scene, int delay, int frame)
void EEVEE_lightbake_job_data_free(void *custom_data)
void EEVEE_lightcache_free(LightCache *lcache)
void EEVEE_lightcache_info_update(SceneEEVEE *eevee)
RenderEngine * RE_engine_create(RenderEngineType *type)
RenderEngineType * RE_engines_find(const char *idname)
void RE_engine_free(RenderEngine *engine)
void(* MEM_freeN)(void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
void *(* MEM_mallocN)(size_t len, const char *str)
static Object ** object_array_for_shading_edit_mode_enabled(bContext *C, uint *r_objects_len)
static int light_cache_free_exec(bContext *C, wmOperator *UNUSED(op))
static int new_material_exec(bContext *C, wmOperator *UNUSED(op))
void OBJECT_OT_material_slot_add(wmOperatorType *ot)
void OBJECT_OT_material_slot_deselect(wmOperatorType *ot)
static int view_layer_remove_exec(bContext *C, wmOperator *UNUSED(op))
static int view_layer_add_exec(bContext *C, wmOperator *op)
static bool object_array_for_shading_edit_mode_disabled_filter(Object *ob, void *user_data)
static int light_cache_bake_modal(bContext *C, wmOperator *op, const wmEvent *event)
static int render_view_add_exec(bContext *C, wmOperator *UNUSED(op))
void OBJECT_OT_material_slot_copy(wmOperatorType *ot)
static bool view_layer_remove_poll(bContext *C)
static void paste_mtex_copybuf(ID *id)
static bool light_cache_free_poll(bContext *C)
static void copy_mtex_copybuf(ID *id)
static int material_slot_select_exec(bContext *C, wmOperator *UNUSED(op))
static int material_slot_de_select(bContext *C, bool select)
void ED_render_clear_mtex_copybuf(void)
void OBJECT_OT_material_slot_select(wmOperatorType *ot)
void WORLD_OT_new(wmOperatorType *ot)
void OBJECT_OT_material_slot_remove_unused(wmOperatorType *ot)
static int view_layer_add_aov_exec(bContext *C, wmOperator *UNUSED(op))
static int paste_mtex_exec(bContext *C, wmOperator *UNUSED(op))
static int material_slot_remove_unused_exec(bContext *C, wmOperator *op)
void OBJECT_OT_material_slot_assign(wmOperatorType *ot)
static int paste_material_exec(bContext *C, wmOperator *UNUSED(op))
void MATERIAL_OT_paste(wmOperatorType *ot)
void MATERIAL_OT_new(wmOperatorType *ot)
static int material_slot_remove_exec(bContext *C, wmOperator *op)
void SCENE_OT_view_layer_add(wmOperatorType *ot)
static int view_layer_remove_aov_exec(bContext *C, wmOperator *UNUSED(op))
static int material_slot_add_exec(bContext *C, wmOperator *UNUSED(op))
void OBJECT_OT_material_slot_move(wmOperatorType *ot)
static int material_slot_copy_exec(bContext *C, wmOperator *UNUSED(op))
void TEXTURE_OT_new(wmOperatorType *ot)
static bool render_view_remove_poll(bContext *C)
static bool object_materials_supported_poll(bContext *C)
static int copy_material_exec(bContext *C, wmOperator *UNUSED(op))
static void light_cache_bake_tag_cache(Scene *scene, wmOperator *op)
static int material_slot_move_exec(bContext *C, wmOperator *op)
void MATERIAL_OT_copy(wmOperatorType *ot)
void SCENE_OT_light_cache_free(wmOperatorType *ot)
static int light_cache_bake_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
static int texture_slot_move_exec(bContext *C, wmOperator *op)
void TEXTURE_OT_slot_paste(wmOperatorType *ot)
void SCENE_OT_view_layer_add_aov(wmOperatorType *ot)
static int new_world_exec(bContext *C, wmOperator *UNUSED(op))
void TEXTURE_OT_slot_copy(wmOperatorType *ot)
void SCENE_OT_light_cache_bake(wmOperatorType *ot)
static int material_slot_assign_exec(bContext *C, wmOperator *UNUSED(op))
static int light_cache_bake_exec(bContext *C, wmOperator *op)
void SCENE_OT_render_view_add(wmOperatorType *ot)
void SCENE_OT_view_layer_remove_aov(wmOperatorType *ot)
void OBJECT_OT_material_slot_remove(wmOperatorType *ot)
void TEXTURE_OT_slot_move(wmOperatorType *ot)
void SCENE_OT_view_layer_remove(wmOperatorType *ot)
static int material_slot_deselect_exec(bContext *C, wmOperator *UNUSED(op))
static Object ** object_array_for_shading_edit_mode_disabled(bContext *C, uint *r_objects_len)
static int copy_mtex_exec(bContext *C, wmOperator *UNUSED(op))
static bool object_array_for_shading_edit_mode_enabled_filter(Object *ob, void *user_data)
void SCENE_OT_render_view_remove(wmOperatorType *ot)
static int render_view_remove_exec(bContext *C, wmOperator *UNUSED(op))
@ LIGHTCACHE_SUBSET_DIRTY
static int new_texture_exec(bContext *C, wmOperator *UNUSED(op))
static bool object_materials_supported_poll_ex(bContext *C, const Object *ob)
static bool copy_mtex_poll(bContext *C)
static void light_cache_bake_cancel(bContext *C, wmOperator *op)
bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna)
void RNA_id_pointer_create(ID *id, PointerRNA *r_ptr)
void RNA_property_pointer_set(PointerRNA *ptr, PropertyRNA *prop, PointerRNA ptr_value, ReportList *reports)
void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
int RNA_int_get(PointerRNA *ptr, const char *name)
int RNA_enum_get(PointerRNA *ptr, const char *name)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, int default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, int default_value, const char *ui_name, const char *ui_description)
const EnumPropertyItem rna_enum_linestyle_thickness_modifier_type_items[]
const EnumPropertyItem rna_enum_linestyle_geometry_modifier_type_items[]
const EnumPropertyItem rna_enum_linestyle_color_modifier_type_items[]
const EnumPropertyItem rna_enum_linestyle_alpha_modifier_type_items[]
struct CharInfo * textbufinfo
struct FreestyleLineStyle * linestyle
void(* update_render_passes)(struct RenderEngine *engine, struct Scene *scene, struct ViewLayer *view_layer)
struct LightCache * light_cache_data
struct bNodeTree * nodetree
struct FreestyleConfig freestyle_config
ViewLayerAOV * active_aov
int(* invoke)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
int(* modal)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
bool(* poll)(struct bContext *) ATTR_WARN_UNUSED_RESULT
void(* cancel)(struct bContext *, struct wmOperator *)
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports
__forceinline const avxb select(const avxb &m, const avxb &t, const avxb &f)
void WM_cursor_wait(bool val)
wmEventHandler_Op * WM_event_add_modal_handler(bContext *C, wmOperator *op)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void WM_jobs_start(wmWindowManager *wm, wmJob *wm_job)
bool WM_jobs_test(wmWindowManager *wm, void *owner, int job_type)
void WM_jobs_kill_type(struct wmWindowManager *wm, void *owner, int job_type)
int WM_menu_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
ViewLayer * WM_window_get_active_view_layer(const wmWindow *win)
void WM_window_set_active_view_layer(wmWindow *win, ViewLayer *view_layer)