Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_RenderLayersProg.cc
| Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | #ifndef NDEBUG | ||||
| else if (data_type == DataType::Vector) { | else if (data_type == DataType::Vector) { | ||||
| expected_element_size = 3; | expected_element_size = 3; | ||||
| } | } | ||||
| else if (data_type == DataType::Color) { | else if (data_type == DataType::Color) { | ||||
| expected_element_size = 4; | expected_element_size = 4; | ||||
| } | } | ||||
| else { | else { | ||||
| expected_element_size = 0; | expected_element_size = 0; | ||||
| BLI_assert(!"Something horribly wrong just happened"); | BLI_assert_msg(0, "Something horribly wrong just happened"); | ||||
| } | } | ||||
| BLI_assert(expected_element_size == actual_element_size); | BLI_assert(expected_element_size == actual_element_size); | ||||
| } | } | ||||
| #endif | #endif | ||||
| if (this->m_inputBuffer == nullptr) { | if (this->m_inputBuffer == nullptr) { | ||||
| int elemsize = this->m_elementsize; | int elemsize = this->m_elementsize; | ||||
| if (elemsize == 1) { | if (elemsize == 1) { | ||||
| ▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines | |||||