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) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to