[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54369] trunk/blender/source/blender/imbuf /IMB_imbuf_types.h: Fix #34145: 'Save Image' incorrect file type.

Sergey Sharybin sergey.vfx at gmail.com
Thu Feb 7 08:24:02 CET 2013


Revision: 54369
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54369
Author:   nazgul
Date:     2013-02-07 07:24:02 +0000 (Thu, 07 Feb 2013)
Log Message:
-----------
Fix #34145: 'Save Image' incorrect file type.

Own mistake in 16bit PNG support, wrong bitmask for custom flags

ftype really needs cleanup..

Modified Paths:
--------------
    trunk/blender/source/blender/imbuf/IMB_imbuf_types.h

Modified: trunk/blender/source/blender/imbuf/IMB_imbuf_types.h
===================================================================
--- trunk/blender/source/blender/imbuf/IMB_imbuf_types.h	2013-02-07 04:04:12 UTC (rev 54368)
+++ trunk/blender/source/blender/imbuf/IMB_imbuf_types.h	2013-02-07 07:24:02 UTC (rev 54369)
@@ -175,7 +175,7 @@
  * The bit flag is stored in the ImBuf.ftype variable.
  * Note that the lower 11 bits is used for storing custom flags
  */
-#define IB_CUSTOM_FLAGS_MASK 0x400
+#define IB_CUSTOM_FLAGS_MASK 0x7ff
 
 #define PNG				(1 << 30)
 #define TGA				(1 << 28)




More information about the Bf-blender-cvs mailing list