[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48343] trunk/blender/source/blender/imbuf /intern/allocimbuf.c: change default DPI for images to 72, aparently 150 gives issues with adobe apps ( which is stupid but default value isnt so important).

Campbell Barton ideasman42 at gmail.com
Wed Jun 27 20:11:25 CEST 2012


Revision: 48343
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48343
Author:   campbellbarton
Date:     2012-06-27 18:11:24 +0000 (Wed, 27 Jun 2012)
Log Message:
-----------
change default DPI for images to 72, aparently  150 gives issues with adobe apps (which is stupid but default value isnt so important).

Modified Paths:
--------------
    trunk/blender/source/blender/imbuf/intern/allocimbuf.c

Modified: trunk/blender/source/blender/imbuf/intern/allocimbuf.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/allocimbuf.c	2012-06-27 18:10:53 UTC (rev 48342)
+++ trunk/blender/source/blender/imbuf/intern/allocimbuf.c	2012-06-27 18:11:24 UTC (rev 48343)
@@ -351,7 +351,7 @@
 		ibuf->planes = planes;
 		ibuf->ftype = TGA;
 		ibuf->channels = 4;  /* float option, is set to other values when buffers get assigned */
-		ibuf->ppm[0] = ibuf->ppm[1] = 150.0 / 0.0254; /* 150dpi -> pixels-per-meter */
+		ibuf->ppm[0] = ibuf->ppm[1] = 72.0 / 0.0254; /* 72dpi -> pixels-per-meter */
 		
 		if (flags & IB_rect) {
 			if (imb_addrectImBuf(ibuf) == FALSE) {




More information about the Bf-blender-cvs mailing list