Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/intern/source/bake_api.c
| Context not available. | |||||
| #include "BKE_image.h" | #include "BKE_image.h" | ||||
| #include "BKE_node.h" | #include "BKE_node.h" | ||||
| #include "IMB_imbuf_types.h" | #include "DNA_imbuf_types.h" | ||||
| #include "IMB_imbuf.h" | #include "IMB_imbuf.h" | ||||
| #include "RE_bake.h" | #include "RE_bake.h" | ||||
| Context not available. | |||||
| const float nor_alpha[4] = {0.5f, 0.5f, 1.0f, 0.0f}; | const float nor_alpha[4] = {0.5f, 0.5f, 1.0f, 0.0f}; | ||||
| const float nor_solid[4] = {0.5f, 0.5f, 1.0f, 1.0f}; | const float nor_solid[4] = {0.5f, 0.5f, 1.0f, 1.0f}; | ||||
| ibuf = BKE_image_acquire_ibuf(image, NULL, &lock); | ibuf = BKE_image_acquire_ibuf(image, NULL, &lock, IMA_IBUF_IMA); | ||||
| BLI_assert(ibuf); | BLI_assert(ibuf); | ||||
| if (is_tangent) | if (is_tangent) | ||||
| Context not available. | |||||