Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: source/blender/blenkernel/intern/shader.c
- ===================================================================
- --- source/blender/blenkernel/intern/shader.c (revisión: 53568)
- +++ source/blender/blenkernel/intern/shader.c (copia de trabajo)
- @@ -129,7 +129,8 @@
- /* Find a new name for the first main */
- search = BLI_dynstr_get_cstring(new_source);
- do {
- - itoa(i++, count, 10);
- + sprintf(count, "%d", i++);
- + //itoa(i++, count, 10);
- strcpy(fname1, "main");
- strcat(fname1, count);
- }while (search = strstr(dst->source, fname1));
- @@ -141,7 +142,8 @@
- /* Find a name for the second main */
- do {
- - itoa(i++, count, 10);
- + sprintf(count, "%d", i++);
- + //itoa(i++, count, 10);
- strcpy(fname2, "main");
- strcat(fname2, count);
- }while (search = strstr(dst->source, fname2));
- @@ -399,4 +401,4 @@
- sh->uniforms.first = sh->uniforms.last = NULL;
- gather_uniforms(sh);
- -}
- \ No newline at end of file
- +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement