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
AgeCommit message (Collapse)Author
2014-11-29Correct includes for win32Campbell Barton
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-24BLI_utildefines: add UNUSED_VARS() macroCampbell Barton
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-11-21fix T42676 replaced windows specific include by BLI_utildefines.hGaia Clary
2014-11-21Fix T42421: HDR reader could easily read past buffer (truncated HDR files ↵Bastien Montagne
e.g.) and segfault. Now readers get an 'mem_eof' guard pointer, and they abort in case they try to go past it.
2014-11-14Cleanup: use BLI_hash_ prefix for md5 apiCampbell Barton
2014-11-14Cleanup: headersCampbell Barton
2014-11-14Add Murmur2A hashing feature to BLIBastien Montagne
Murmur2a is a very fast hashing function generation int32 hashes. It also features a very good distribution of generated hashes. However, it is not endianness-agnostic, meaning it will usually generate different hashes for a same key on big- and little-endian architectures. Consequently, **it shall not be used to generate persistent hashes** (never store them in .blend file e.g.). This implementation supports incremental hashing, and is a direct adaptation of reference implementation (in c++): https://smhasher.googlecode.com/svn-history/r130/trunk/MurmurHash2.cpp That cpp code was also used to generate reference values in gtests file. Reviewers: sergey, campbellbarton Reviewed By: campbellbarton Projects: #bf_blender Differential Revision: https://developer.blender.org/D892
2014-10-17Fix issue reported by Sebastian Koenig on irc, Clone brush would paintAntony Riakiotakis
trash with float images. Issue is uninitialized alpha in the clone brush + a clamping issue for float images. There's still some 'swimming' and brightness issue here but I have to do work for the weekly, will investigate further later.
2014-09-29Fix for wrong color space when image loader set both rect and rect_floatSergey Sharybin
Quite safe for 2.72.
2014-09-25GHash: use bool for comparison (simplify compare)Campbell Barton
2014-08-27Cleanup: remove _DEBUG define usageCampbell Barton
2014-08-18Correction to the mipmaps generationSergey Sharybin
Seem we've always were wrong with multiplying alpha by 255, other channels seems to be multiplied by 256 with the shift operations.
2014-08-17CleanupCampbell Barton
2014-08-13Fix out of bounds read when recalculating mipmaps, error reported byAntony Riakiotakis
address sanitizer. This was strangely only triggered when float buffers were used.
2014-08-12Fix T41414, T41386.Antony Riakiotakis
There were a few issues to fix here: * We did not really unpremultiply float image dabs prior to sending them to the GPU. That made float and byte image result different in texture painting and undoing could change the result. * To make textures nicely composited over the mesh, I used decal mode in OpenGL texture environment for the texture unit. This uses the texture's alpha channel with a nice over operator. * Texture creation used to override the alpha setting due to the display restrictions. Not so anymore, people can now create transparent byte images. Also, made alpha zero default for new textures now, since it has such a nice effect here.
2014-08-11Fix T40744: MIP Map is generating strange noise in texture, Blender InternalSergey Sharybin
2014-08-07Cleanup: Remove special code for Visual Studio 2008.Thomas Dinges
Goodbye VC2008, it has been a pleasure (more or less) :D SCons / CMake cleaenup will follow. Differential Revision: https://developer.blender.org/D715
2014-07-30Fix T41241: VSE: cropping strips puts a transparent line through the image.Bastien Montagne
2014-07-21GSOC 2013 paintAntony Riakiotakis
Yep, at last it's here! There are a few minor issues remaining but development can go on in master after discussion at blender institute. For full list of features see: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Painting Thanks to Sergey and Campbell for the extensive review and to the countless artists that have given their input and reported issues during development.
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-04Style cleanupCampbell Barton
2014-07-04Add (r)partition funcs to BLI_string, to get left-most/right-most first ↵Bastien Montagne
occurence of delimiters. Inspired by Python (r)partition str functions. Also added some Gtest cases for those new funcs. Reviewed by Campbell Barton, many thanks!
2014-07-01Fix strict flags compilationSergey Sharybin
2014-06-30Fix T40818: libpng warning: iCCP: known incorrect sRGB profileSergey Sharybin
Suppress warning for now, it's harmless and only happens with new libpng. In the future we might try enabling it for non-datatoc-ed files, but it's really not worth spending lots of time on.
2014-06-22Remove unused functionCampbell Barton
2014-06-20BLI_md5: add a utility function to 'translate' raw 16bytes digest into a ↵Bastien Montagne
nice 32chars hexadecimal string. That kind of stuff belongs to BLI, not specialized code like thumbs.c
2014-06-15Code cleanup: commentsCampbell Barton
2014-06-10Fix wrong memory write in partial render update with Save Buffers enabledSergey Sharybin
No idea why this issue hasn't been spotted before. Took several hours to figure out where exactly wrong memory access happens.. P.S. I really want to switch ImBuf->rect from int* to unsigned char*...
2014-06-09Fix T40547: Can't read single channel EXRsSergey Sharybin
The root of the issue goes to the fact that we only can read RGB EXR files, but they could be YCbCr or just Luma. Added support for this two cases. Note: internally EXR would still be 3 channels, so no big memory save would happen here, at least yet.
2014-05-28Fix T40157: Loading movies larger than 4GB in size failsSergey Sharybin
Issue was caused by _wstat returning EOVERFLOW error because of file size didn't fit into stat structure which was using long datatype. The idea of this patch is to use _wstat64 and _stat64 structure which is capable storing 64bit file sizes. Made it a typedef for stat structure used by BLI_stat function in order to make code easier to follow and avoid ifdefs all over the place. Additionally solved issue with BLI_exists which was wrongly returning False in cases destination file is larger then 4GB.
2014-05-23Report to the console when custom ocio config is usedSergey Sharybin
2014-05-14Code cleanup: doxy commentsCampbell Barton
2014-05-10Fix T40107: painting on a psd image crashes blender + style cleanup in fileDalai Felinto
The issue was that we can't assume we support the colorspace from the file. The reported file had an invalid colorspace in fact, which was leading to the segfault in Blender. Thanks for Sergey Sharybin for the help here.
2014-05-03IMB buffer functions to take a mask as inputDalai Felinto
The mask make sure the conversion only happens in a few areas of the buffer. New Functions: * IMB_buffer_byte_from_float_mask * IMB_buffer_float_from_float_mask The functions are an adaptation of their maskless counterparts without accepting different profiles for the input and output buffers. Review: Sergey Sharybin
2014-05-01Code cleanup: remove defines no longer needed on windowsCampbell Barton
2014-05-01More fixes, msvc 2008 needs math includes for "isnan"..Thomas Dinges
2014-05-01Include removal gave problems with windows, ifdef some back in for windows onlyCampbell Barton
2014-05-01Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in ↵Campbell Barton
4ca67869cc7a." This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d.
2014-05-01Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a.Thomas Dinges
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Fix T39931: Crash generating thumbnails (error in escaping)Campbell Barton
2014-04-30Fix T39953: Float data images display trash in image editorSergey Sharybin
Was a failure of optimization trick.
2014-04-30Correct issue with IMB_ispic returning boolCampbell Barton
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, ↵Campbell Barton
modifiers, nodes)
2014-04-22BLI_open: check returned value for `-1` instead of `< 0`Campbell Barton