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>2004-04-28 21:35:35 +0400
committerTon Roosendaal <ton@blender.org>2004-04-28 21:35:35 +0400
commit0da09b4299e8af299621ac049dfb94c7bdd9f69e (patch)
tree419ba968875a4f8d27ae8d000cb40b7de5eff89e
parent07b6ca41c856211926f04b267e221b71f5d259b0 (diff)
Bug 1203
Error in code invoked by menu: View3d header -> Select -> Groups -> Parent There was a call to draw an object in frontbuffer, whilst the header was still active. Not needed, because full redraw event was sent too.
-rw-r--r--source/blender/src/space.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 399aeb6c94b..1d0e8f1c50d 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -500,9 +500,9 @@ void select_parent(void) /* Makes parent active and de-selected OBACT */
oldbasact = BASACT;
BASACT = basact;
basact->flag |= SELECT;
- if(oldbasact) if(oldbasact != basact) draw_object_ext(oldbasact);
+
basact->object->flag= basact->flag;
- draw_object_ext(basact);
+
set_active_base(basact);
}