style cleanup

This commit is contained in:
2012-12-01 07:58:27 +00:00
parent b290f9a6cc
commit 0da227cac1
3 changed files with 4 additions and 4 deletions

View File

@@ -279,7 +279,7 @@ static void setup_app_data(bContext *C, BlendFileData *bfd, const char *filepath
/* this can happen when active scene was lib-linked, and doesn't exist anymore */
if (CTX_data_scene(C) == NULL) {
/* in case we don't even have a local scene, add one */
if(!G.main->scene.first)
if (!G.main->scene.first)
BKE_scene_add("Scene");
CTX_data_scene_set(C, G.main->scene.first);