LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version.· | 7 * of the License, or (at your option) any later version.· |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 if (node->prvr.xmax < node->prvr.xmin) SWAP(float, node->prvr.xm
ax, node->prvr.xmin); | 405 if (node->prvr.xmax < node->prvr.xmin) SWAP(float, node->prvr.xm
ax, node->prvr.xmin); |
406 if (node->prvr.ymax < node->prvr.ymin) SWAP(float, node->prvr.ym
ax, node->prvr.ymin); | 406 if (node->prvr.ymax < node->prvr.ymin) SWAP(float, node->prvr.ym
ax, node->prvr.ymin); |
407 } | 407 } |
408 | 408 |
409 | 409 |
410 static int node_get_colorid(bNode *node) | 410 static int node_get_colorid(bNode *node) |
411 { | 411 { |
412 if(node->typeinfo->nclass==NODE_CLASS_INPUT) | 412 if(node->typeinfo->nclass==NODE_CLASS_INPUT) |
413 return TH_NODE_IN_OUT; | 413 return TH_NODE_IN_OUT; |
414 if(node->typeinfo->nclass==NODE_CLASS_OUTPUT) { | 414 if(node->typeinfo->nclass==NODE_CLASS_OUTPUT) { |
LEFT | RIGHT |