Code cleanup
This commit is contained in:
parent
6d2c23bf70
commit
620901426c
@ -83,11 +83,9 @@ ccl_device bool BVH_FUNCTION_NAME
|
||||
|
||||
/* traversal loop */
|
||||
do {
|
||||
do
|
||||
{
|
||||
do {
|
||||
/* traverse internal nodes */
|
||||
while(nodeAddr >= 0 && nodeAddr != ENTRYPOINT_SENTINEL)
|
||||
{
|
||||
while(nodeAddr >= 0 && nodeAddr != ENTRYPOINT_SENTINEL) {
|
||||
bool traverseChild0, traverseChild1;
|
||||
int nodeAddrChild1;
|
||||
|
||||
|
@ -87,11 +87,9 @@ ccl_device bool BVH_FUNCTION_NAME
|
||||
|
||||
/* traversal loop */
|
||||
do {
|
||||
do
|
||||
{
|
||||
do {
|
||||
/* traverse internal nodes */
|
||||
while(nodeAddr >= 0 && nodeAddr != ENTRYPOINT_SENTINEL)
|
||||
{
|
||||
while(nodeAddr >= 0 && nodeAddr != ENTRYPOINT_SENTINEL) {
|
||||
bool traverseChild0, traverseChild1;
|
||||
int nodeAddrChild1;
|
||||
|
||||
|
@ -2927,7 +2927,7 @@ static int acf_nlaaction_icon(bAnimListElem *ale)
|
||||
* Although this can't be used directly for NLA Action drawing,
|
||||
* it is still needed for use behind the RHS toggles
|
||||
*/
|
||||
static void acf_nlaaction_color(bAnimContext *ac, bAnimListElem *ale, float r_color[3])
|
||||
static void acf_nlaaction_color(bAnimContext *UNUSED(ac), bAnimListElem *ale, float r_color[3])
|
||||
{
|
||||
float color[4];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user