[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24021] trunk/blender/source/blender/ blenloader/intern/readfile.c: Bugfix for paint cursor not showing up in paint/sculpt modes

Brecht Van Lommel brecht at blender.org
Tue Oct 20 21:52:31 CEST 2009


Revision: 24021
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24021
Author:   blendix
Date:     2009-10-20 21:52:31 +0200 (Tue, 20 Oct 2009)

Log Message:
-----------
Bugfix for paint cursor not showing up in paint/sculpt modes
after saving the file in that mode and reloading.

Modified Paths:
--------------
    trunk/blender/source/blender/blenloader/intern/readfile.c

Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c	2009-10-20 19:46:36 UTC (rev 24020)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c	2009-10-20 19:52:31 UTC (rev 24021)
@@ -4232,8 +4232,10 @@
 static void direct_link_paint(FileData *fd, Paint **paint)
 {
 	(*paint)= newdataadr(fd, (*paint));
-	if(*paint)
+	if(*paint) {
+		(*paint)->paint_cursor= NULL;
 		(*paint)->brushes= newdataadr(fd, (*paint)->brushes);
+	}
 }
 
 static void direct_link_scene(FileData *fd, Scene *sce)





More information about the Bf-blender-cvs mailing list