diff options
| author | epoch <epoch@thebackupbox.net> | 2020-04-22 03:34:20 -0500 | 
|---|---|---|
| committer | epoch <epoch@thebackupbox.net> | 2020-04-22 03:34:20 -0500 | 
| commit | 7f04062fdcbe9eaaaa5827b6e721f2f3e384cdcc (patch) | |
| tree | bf00bb5ab784e67f30fbca00084d2c5a92a20f21 /src | |
| parent | 3d5566e48edad6b44606810077366a54f5c2a4de (diff) | |
| download | hackvr-7f04062fdcbe9eaaaa5827b6e721f2f3e384cdcc.tar.gz hackvr-7f04062fdcbe9eaaaa5827b6e721f2f3e384cdcc.zip | |
was setting the scale to 0 after flattening, also was cleaning the gr before I was done with it. >_>
Diffstat (limited to 'src')
| -rw-r--r-- | src/hackvr.c | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/src/hackvr.c b/src/hackvr.c index fc6c483..e998bfe 100644 --- a/src/hackvr.c +++ b/src/hackvr.c @@ -522,11 +522,11 @@ int hackvr_handler(char *line) {          for(j=0;global.shape[j];j++) {           if(!strcmp(global.shape[j]->id,gr->id)) {            (*global.shape[j])=apply_group_relative((*global.shape[j]),0); -          gr->r=(c3_rot_t){(degrees){0},(degrees){0},(degrees){0}}; -          gr->p=(c3_t){0,0,0}; -          gr->s=(c3_t){0,0,0};           } -	} +        } +        gr->r=(c3_rot_t){(degrees){0},(degrees){0},(degrees){0}}; +        gr->p=(c3_t){0,0,0}; +        gr->s=(c3_t){1,1,1};         }        }       } @@ -536,11 +536,11 @@ int hackvr_handler(char *line) {       for(j=0;global.shape[j];j++) {        if(!strcmp(global.shape[j]->id,gr->id)) {         (*global.shape[j])=apply_group_relative((*global.shape[j]),0); -       gr->r=(c3_rot_t){(degrees){0},(degrees){0},(degrees){0}}; -       gr->p=(c3_t){0,0,0}; -       gr->s=(c3_t){0,0,0};        }       } +     gr->r=(c3_rot_t){(degrees){0},(degrees){0},(degrees){0}}; +     gr->p=(c3_t){0,0,0}; +     gr->s=(c3_t){1,1,1};      }     }     return ret; | 
