Cleanup: Removed commented out code.
This commit is contained in:
parent
8ea3ab5b42
commit
b43d4c63cf
|
@ -314,18 +314,6 @@ bool DebugInfo::graphviz_system(const ExecutionSystem *system, char *str, int ma
|
|||
len += snprintf(str + len, maxlen > len ? maxlen - len : 0, "rankdir=LR\r\n");
|
||||
len += snprintf(str + len, maxlen > len ? maxlen - len : 0, "splines=false\r\n");
|
||||
|
||||
# if 0
|
||||
for (ExecutionSystem::Operations::const_iterator it = system->m_operations.begin();
|
||||
it != system->m_operations.end();
|
||||
++it) {
|
||||
NodeOperation *op = *it;
|
||||
len += snprintf(str + len,
|
||||
maxlen > len ? maxlen - len : 0,
|
||||
"// OPERATION: %s\r\n",
|
||||
node->getbNode()->typeinfo->ui_name);
|
||||
}
|
||||
# endif
|
||||
|
||||
int totops = system->m_operations.size();
|
||||
int totgroups = system->m_groups.size();
|
||||
std::map<NodeOperation *, std::vector<std::string>> op_groups;
|
||||
|
|
|
@ -266,11 +266,6 @@ class MemoryBuffer {
|
|||
BLI_assert(offset < this->determineBufferSize() * this->m_num_channels);
|
||||
BLI_assert(!(extend_x == COM_MB_CLIP && (u < m_rect.xmin || u >= m_rect.xmax)) &&
|
||||
!(extend_y == COM_MB_CLIP && (v < m_rect.ymin || v >= m_rect.ymax)));
|
||||
#if 0
|
||||
/* always true */
|
||||
BLI_assert((int)(MEM_allocN_len(this->m_buffer) / sizeof(*this->m_buffer)) ==
|
||||
(int)(this->determineBufferSize() * COM_NUMBER_OF_CHANNELS));
|
||||
#endif
|
||||
float *buffer = &this->m_buffer[offset];
|
||||
memcpy(result, buffer, sizeof(float) * this->m_num_channels);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue