fix for incorrect selection check in opencollada integration.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 28 Apr 2012 07:02:44 +0000 (07:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 28 Apr 2012 07:02:44 +0000 (07:02 +0000)
source/blender/collada/GeometryExporter.h

index 0085e3755aadd3c349397dd5bb5b50bdee12e682..5d79fabb713c97b8b5223fd326db29c1e38caf14 100644 (file)
@@ -112,7 +112,7 @@ struct GeometryFunctor {
                        Object *ob = base->object;
                        
                        if (ob->type == OB_MESH && ob->data &&
-                           !(export_selected && !(ob->flag && SELECT)) &&
+                           !(export_selected && !(ob->flag & SELECT)) &&
                            ((sce->lay & ob->lay)!=0))
                        {
                                f(ob);