== OOPS Editor ==

Hardly anyone uses it, so until now, no-one has noticed that selection is broken. Just a simple variable typo caused bug #6738. Fixed.
This commit is contained in:
2007-05-23 04:42:18 +00:00
parent f7c3e24bfc
commit 2a63a47a56

View File

@@ -103,7 +103,7 @@ static void oops_to_select_objects(void)
if(oops->hide==0) {
if(oops->type==ID_OB) {
ob= (Object *)oops->id;
if ((ob->flag & OB_RESTRICT_VIEW)==0) {
if ((ob->restrictflag & OB_RESTRICT_VIEW)==0) {
if(oops->flag & SELECT) ob->flag |= SELECT;
else ob->flag &= ~SELECT;
}