-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: hackvr
action: commit
revision:
path_from:
revision_from: 7f04062fdcbe9eaaaa5827b6e721f2f3e384cdcc:
path_to:
revision_to:

git.thebackupbox.net

hackvr

git://git.thebackupbox.net/hackvr

commit 7f04062fdcbe9eaaaa5827b6e721f2f3e384cdcc
Author: epoch <epoch@thebackupbox.net>
Date:   Wed Apr 22 03:34:20 2020 -0500

    was setting the scale to 0 after flattening, also was cleaning the gr before I was done with it. >_>

diff --git a/src/hackvr.c b/src/hackvr.c

index fc6c483f4bf25a90e476f91aae587983eb2f08e5..

index ..e998bfe0ffadfa2829cd498b1ce284774e1172fd 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;

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 19:09:34 2024