Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_bake_api.c
| Show First 20 Lines • Show All 410 Lines • ▼ Show 20 Lines | |||||
| static bool is_noncolor_pass(eScenePassType pass_type) | static bool is_noncolor_pass(eScenePassType pass_type) | ||||
| { | { | ||||
| return ELEM(pass_type, | return ELEM(pass_type, | ||||
| SCE_PASS_Z, | SCE_PASS_Z, | ||||
| SCE_PASS_NORMAL, | SCE_PASS_NORMAL, | ||||
| SCE_PASS_VECTOR, | SCE_PASS_VECTOR, | ||||
| SCE_PASS_INDEXOB, | SCE_PASS_INDEXOB, | ||||
| SCE_PASS_UV, | SCE_PASS_UV, | ||||
| SCE_PASS_RAYHITS, | |||||
| SCE_PASS_INDEXMA); | SCE_PASS_INDEXMA); | ||||
| } | } | ||||
| /* if all is good tag image and return true */ | /* if all is good tag image and return true */ | ||||
| static bool bake_object_check(ViewLayer *view_layer, | static bool bake_object_check(ViewLayer *view_layer, | ||||
| Object *ob, | Object *ob, | ||||
| const eBakeTarget target, | const eBakeTarget target, | ||||
| ReportList *reports) | ReportList *reports) | ||||
| ▲ Show 20 Lines • Show All 1,687 Lines • Show Last 20 Lines | |||||