Commit: ddf5ef04016a5a7e61a323771a631d9c5cb607db
Author: Dalai Felinto
Date:   Tue Jun 10 21:36:48 2014 -0300
https://developer.blender.org/rBddf5ef04016a5a7e61a323771a631d9c5cb607db

correction from last commit

===================================================================

M       source/blender/editors/object/object_bake_api.c

===================================================================

diff --git a/source/blender/editors/object/object_bake_api.c 
b/source/blender/editors/object/object_bake_api.c
index cd40262..534ecd5 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -302,7 +302,7 @@ static bool bake_object_check(Object *ob, ReportList 
*reports)
        else {
                Mesh *me = (Mesh *)ob->data;
 
-               if (CustomData_get_active_layer_index(&me->ldata, CD_MLOOPUV)) {
+               if (CustomData_get_active_layer_index(&me->ldata, CD_MLOOPUV) 
== -1) {
                        BKE_reportf(reports, RPT_ERROR,
                                    "No active UV layer found in the object 
\"%s\"", ob->id.name + 2);
                        return false;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to