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:
authorAntony Riakiotakis <kalast@gmail.com>2013-12-12 21:01:11 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-12-12 21:01:11 +0400
commitc740f1a792fd47995b21422a84bc65f50d0b42ed (patch)
treea6a8aaaa2e183ea690a02e3d21b32fcbd880468e /source/blender/blenloader/intern
parent400fc9f86f6624fbe8a8a640d49579fca2466186 (diff)
Sculpt mode Gravity feature from GSOC 2010 by Jason Wilkins.
Reviewers: sergey, brecht, campbellbarton, jwilkins Differential Revision: http://developer.blender.org/D89
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index be76a8b8c88..e51b3a6f27e 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5119,6 +5119,11 @@ static void lib_link_scene(FileData *fd, Main *main)
link_paint(fd, sce, &sce->toolsettings->wpaint->paint);
link_paint(fd, sce, &sce->toolsettings->imapaint.paint);
link_paint(fd, sce, &sce->toolsettings->uvsculpt->paint);
+
+ if (sce->toolsettings->sculpt)
+ sce->toolsettings->sculpt->gravity_object =
+ newlibadr_us(fd, sce->id.lib, sce->toolsettings->sculpt->gravity_object);
+
sce->toolsettings->skgen_template = newlibadr(fd, sce->id.lib, sce->toolsettings->skgen_template);
for (base = sce->base.first; base; base = next) {