Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-07-24 00:56:40 +0400
committerTon Roosendaal <ton@blender.org>2005-07-24 00:56:40 +0400
commit1516381df1548cad58f505b35e13f6455bf6d1b6 (patch)
treef7d3ed683afd7abb618d2d48b71a380714ff7d72 /source/blender/src/drawarmature.c
parente331e68b571b0b72de1c4636209d038c4f679631 (diff)
- Armature editmode now supports lasso. Please be aware that in editmode,
armatures actually only consists of points, flushing bone selection based on points that are selected. Renamed the "Lines" drawmode for bones to "Sticks". Thanks Basse! :) - Fix; crash in selecting in editmode armature (commit 1 hour ago) - Fix; in editmode, bones didn't transform (same commit) - Fix; in drawmode "Sticks", names could go weird in editmode (commit two days ago)
Diffstat (limited to 'source/blender/src/drawarmature.c')
-rw-r--r--source/blender/src/drawarmature.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/drawarmature.c b/source/blender/src/drawarmature.c
index d53f58fad62..54d6bcb7d70 100644
--- a/source/blender/src/drawarmature.c
+++ b/source/blender/src/drawarmature.c
@@ -915,7 +915,7 @@ static void draw_ebones(Object *ob, int dt)
/* offset to parent */
if (eBone->parent) {
BIF_ThemeColor(TH_WIRE);
- glLoadName (index & 0xFFFF); // object tag, for bordersel optim
+ glLoadName (-1); // -1 here is OK!
setlinestyle(3);
glBegin(GL_LINES);
@@ -929,7 +929,8 @@ static void draw_ebones(Object *ob, int dt)
}
/* restore */
- if (dt>OB_WIRE) bglPolygonOffset(0.0);
+ if(arm->drawtype==ARM_LINE);
+ else if (dt>OB_WIRE) bglPolygonOffset(0.0);
/* finally names */
if(arm->flag & ARM_DRAWNAMES) {