- finished RNA renaming for review

- fix warning
This commit is contained in:
Campbell Barton 2010-08-16 17:17:33 +00:00
parent dc3ca6dcda
commit 0861f59ecf
2 changed files with 2075 additions and 2073 deletions

File diff suppressed because it is too large Load Diff

@ -214,11 +214,13 @@ int WM_init_game(bContext *C)
ScrArea *sa;
ARegion *ar;
Main *main = CTX_data_main(C);
Scene *scene= CTX_data_scene(C);
if (!scene)
scene= main->scene.first;
if (!scene) {
// XXX, this should not be needed.
Main *bmain = CTX_data_main(C);
scene= bmain->scene.first;
}
win = wm->windows.first;