Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index b2536935663..3127540b837 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7286,8 +7286,9 @@ static void direct_link_area(FileData *fd, ScrArea *area)
* committed: r28002 */
#if 0
sima->gpd = newdataadr(fd, sima->gpd);
- if (sima->gpd)
+ if (sima->gpd) {
direct_link_gpencil(fd, sima->gpd);
+ }
#endif
}
else if (sl->spacetype == SPACE_NODE) {
@@ -9844,8 +9845,9 @@ static BHead *find_bhead(FileData *fd, void *old)
#if 0
for (bhead = blo_bhead_first(fd); bhead; bhead = blo_bhead_next(fd, bhead)) {
- if (bhead->old == old)
+ if (bhead->old == old) {
return bhead;
+ }
}
#endif