Fix return in BKE_scene_layer_find_from_collection
authorDalai Felinto <dfelinto@gmail.com>
Fri, 3 Feb 2017 09:51:13 +0000 (10:51 +0100)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 3 Feb 2017 09:51:13 +0000 (10:51 +0100)
source/blender/blenkernel/intern/layer.c

index 39b00531222f3467fead1d76423fd043de41fa0f..c4dd2ecc156433d5329392bb0fc193211434ab54 100644 (file)
@@ -168,7 +168,7 @@ SceneLayer *BKE_scene_layer_find_from_collection(Scene *scene, LayerCollection *
                        return sl;
                }
        }
-       return false;
+       return NULL;
 }
 
 /* ObjectBase */