- bug fix: when moving an object to not-visible layer, and selecting an

other object, the moved one was drawn in 3d window...
  Hopefully the last error caused be me cleaning up frontbuffer draw... :/
This commit is contained in:
Ton Roosendaal
2003-11-20 17:41:46 +00:00
parent 81d309e68e
commit 763cf2d69f

View File

@@ -629,7 +629,7 @@ void mouse_select(void)
}
// for visual speed
if(oldbasact != basact) draw_object_ext(oldbasact);
if(oldbasact != basact && (oldbasact->lay & G.vd->lay)) draw_object_ext(oldbasact);
draw_object_ext(basact);
if(basact->object->type!=OB_MESH) {