Page Menu
Home
Search
Configure Global Search
Log In
Files
F5895
EmptyDrawingFixes.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Daniel Salazar (zanqdo)
Nov 13 2013, 1:26 PM
Size
662 B
Subscribers
None
EmptyDrawingFixes.patch
View Options
Index: source/blender/src/drawobject.c
===================================================================
--- source/blender/src/drawobject.c (revision 13982)
+++ source/blender/src/drawobject.c (working copy)
@@ -4064,8 +4064,8 @@
radius = size;
glTranslatef(cent,cent, cent);
- glScalef(radius, 2.0*size, radius);
- glRotatef(-90., 1.0, 0.0, 0.0);
+ glScalef(radius, radius, 2.0*size);
+ glRotatef(0.0, 1.0, 0.0, 0.0);
gluCylinder(qobj, 1.0, 0.0, 1.0, 8, 1);
glPopMatrix();
@@ -4183,7 +4183,7 @@
x= *(cosval + degrees);
y= *(sinval + degrees);
- glVertex3f(x*size, 0.0f, y*size);
+ glVertex3f(x*size, y*size, 0.0f);
}
glEnd();
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
21/78/3bc3183fca8c7467a24685fd14dd
Event Timeline
Log In to Comment