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
2013-08-23Fix #36535: Color difference when saving imageSergey Sharybin
Issue was caused by precision loss in alpha under code. Now it might be slower a bit, but it's as precise as it could be. At least i hope so :)
2013-08-19code cleanup: confirm include guards to our conventionCampbell Barton
2013-08-13add support for loading 8bit BMP imagesCampbell Barton
2013-08-04code cleanup: replace strcpy with BLI_strncpy for fixed size strings, and ↵Campbell Barton
correct some harmless but incorrect sizeof() use
2013-07-27code cleanup for thumbnails:Campbell Barton
- use URI_MAX define - replace strcat with BLI_snprintf.
2013-07-25add missing va_end() calls.Campbell Barton
2013-07-25add api function BLI_path_append to add to a path (and ensure a seperator), ↵Campbell Barton
replaces BLI_join_dirfile when the dir and the destimation were the same.
2013-07-23* Compile fix for r58542, on Windows "subdir" was unknown. Thomas Dinges
2013-07-23replace use of strcat() where the string offset is known.Campbell Barton
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.
2013-07-21Fixes for recent Wlimit stuff, which makes strict gcc freak outSergey Sharybin
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-20misc editsCampbell Barton
- fix for missing None check with recent 'Hidden Wire' draw option. - avoid int overflow with mesh selection. - remove ';' outside of functions.
2013-07-19style cleanup: braces/indentationCampbell Barton
2013-07-17style cleanupCampbell Barton
2013-07-15Fix #36127: 10 bit DPX render would crash when doing rendering animations fromBrecht Van Lommel
the UI on OS X. The problem is due to a large variable on the stack, and pthreads have a smaller stack size than the main thread by default. On Linux the pthread stack size seems to be 2MB, OS X 512KB and Windows 256KB - 512KB.
2013-07-13remove NULL checks on fixed size arrays, also was calling ↵Campbell Barton
BLI_testextensie_glob every time in the file selector with a blank string.
2013-07-13fix for 2 bugs in animation playbackCampbell Barton
- reading bmp images was failing (needed to increase the size of the header to 64 bytes) - the dnd image was being incorrectly checked (was always returning true even when none was used).
2013-07-11fix [#36089] crash when using a tiff without TIFFTAG_EXTRASAMPLESCampbell Barton
2013-06-25Fix #35824: finding missing files not working correct for filepaths with specialBrecht Van Lommel
characters on Windows. Replaced some uses of stat() by BLI_stat() to properly handle such filepaths.
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-06-10Fix #35658: OpenEXR (from Maya) - missing passesSergey Sharybin
Added some special case for two-component channels name. Maybe magic could be simplified to just use last char of channel name as an id, but extra paranoid check never hurts.
2013-05-29Make sure bool will always have the same size in C and C++Sergey Sharybin
There were an issues with data structures defined in headers and being used by both C and C++ on systems with stdbool unavailable. This happened because bool in this case will be defined as unsigned int, which is 4 bytes. But C++'s bool is only 1 byte and this lead to alignment issues. Now bool is always 1 byte, also made sure there's no situation like bool foo = BitField & BitFlag, which could give overflow issues. Use (BitField & BitFlag) != 0 instead. Fixes #35553: Compositor broken (Backdrop & Preview)
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-27style cleanup: nodesCampbell Barton
2013-05-27fix [#35518] UV Mapping crashes the Blender with specific image fileCampbell Barton
2 bugs here - missing NULL check in IMB_colormanagement_display_settings_from_ctx() - deadlock in draw_image_paint_helpers() Simple solution is to not draw paint helpers for render/viewer images.
2013-05-23Fix #35469: image editor smear and soften paint tools not working correct forBrecht Van Lommel
float images, was not taking premul/straight convention into account properly.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-12Speedup for rendered viewport for blender internalSergey Sharybin
Display code was a bottleneck here, so made it so render result draw follows Image Draw settings.
2013-05-12Image paint: 2D painting now supports texture masks and does masking moreBrecht Van Lommel
consistent with projection painting. Also did some refactoring of this code, moving the brush image creation code out of brush.c and making it consistent with image updating code.
2013-05-12correct assert for driver evaluation,Campbell Barton
also add asserts for listbase functions when the list is NULL, and use noreturn attribute for jpeg_error.
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-05-05Fix for non-terminated reading of JPEG metadataSv. Lockal
This commit prevents Blender reading memory next to non-null-terminated JPEG metadata strings
2013-05-01Fix double free error in OpenEXR when file cannot be savedSv. Lockal
2013-05-01style cleanupCampbell Barton
2013-04-30Bug fix #35143Ton Roosendaal
Animplayer treated .tif extensions as movie files, so that didn't work. Added another hardcoded check for it, like for png tga exr jpg etc. Why FFmpeg thinks .tif is a movie... that's for another day :) Quicktime QTKit did same btw.
2013-04-30More image painting fixes:Brecht Van Lommel
* 2D image painting support for masking to limit the max contribution of a stroke to a pixel, to get it working compatible with projection painting. Not strictly a bugfix, but the inconsistency here was annoying. * Fix python errors in Texture Mask panel in image editor, was missing overlay options. * Clamp paint mask to 0..1 in case some texture exceeds it, this could give black pixels due to integer overflow.
2013-04-29Fix for --debug-ffmpeg not giving enough informationSergey Sharybin
2013-04-29Fix for non-linear float buffer displaying on raw displaySergey Sharybin
2013-04-28Fix #34233: bad alpha blending for 3D texture painting. Same changes as theBrecht Van Lommel
previous fix for 2D image painting were done, and also: * For brushes that do masking (keeping the max contribution to a pixel limited), the alpha from textures is now part of the mask. In many cases the logic worked out the same and where it didn't it used to cause artifacts. * Color interpolation for smear and soften tools now happens in premultipied space, to avoid bleeding of RGB colors from zero alpha areas. * Fix a few cases where byte <=> float conversion was not doing the proper straight <=> premul conversion. * Replace some float division by constants with multiplications, is faster. Note: float texture painting seems to have some issues updating the OpenGL texture, but issue was already there before this commit.
2013-04-27Fix part of #34233: bad alpha blending for 2D image painting. This is a veryBrecht Van Lommel
old issue, the formulas here were never quite right, should all work ok now with byte and float images. Some differences: * Colors with zero alpha from the background will never have an influence, so you don't get alpha fringes when painting over such areas. This does give hard edges when looking at the RGB channels alone, but there's no way to avoid that and fringes at the same time, same behavior as other painting apps. * Add/Subtract/Multiply/Lighten/Darken now leave the alpha channel unchanged and work only the RGB channels, again same behavior as many other apps. * Erase/Add alpha now compensates for premultiplied float images to keep the straight RGB colors the same. Next: fix projection painting.
2013-04-26Fix image painting not adding alpha when 2D painting in the image editor. ThisBrecht Van Lommel
code got lost after the optimizations in revision 55033.
2013-04-25style cleanupCampbell Barton
2013-04-25Fix part of #34640: colors darkening when using the vertex paint blur tool.Brecht Van Lommel
The problem was that vertex colors only have 8 bits of precision, and integer division always rounds down, so after some color blending iterations everything gets darker. Instead use integer division that behaves like round() instead of floor() for blending operations.
2013-04-16skip calling BKE_editmesh_tessface_calc() from BKE_bmbvh_new(), also quiet ↵Campbell Barton
float/double warnings.
2013-04-15Fix #34967: Display transform makes byte image with alpha=0 blackSergey Sharybin
Skip premultiplication/de-premultiplication when acquiring display buffer for a byte image. Will make conversion a bit faster also :)
2013-04-15code cleanup: minor BMESH_TODO's, some were left in even though they were ↵Campbell Barton
done/invalid.
2013-04-14== FFMPEG / Canon DSLR footage workaround ==Peter Schlaile
The latest ffmpeg versions include a workaround to deal with a certain pecularity in Canon DSLR footage: instead of decoding pictures with the proper resolution of 1920x1080 they decode it with 1920x1088 and add a black bar at the bottom. Needless to say, that this screws up things in a lot of areas within blender (proxy indices, mask animations etc.) Since all blender versions besides Linux x86 32bit seem still to include older ffmpeg versions which still contain this bug, this patch adds a workaround for older versions until we have all versions on all platforms up to date. See also: http://git.libav.org/?p=libav.git;a=commit;h=30f515091c323da59c0f1b533703dedca2f4b95d
2013-04-11Fix issue with bright frames appearing in clip editor when compositor is open.Sergey Sharybin
Allocate float buffer outside of image buffer, so work-in-progress color space conversion doesn't interfere with other parts of blender. Covers most of cases -- since image buffer wouldn't have partially-update float buffer all the rest areas would be happy. However, if there're places which updates float buffer from byte buffer, it's still possible some WIP color space conversion is displayed on the screen. But what a heck someone will do such a crappy conversion anyway!
2013-04-11Use SWS_FULL_CHR_H_INT for SWS context for more accurate conversionSergey Sharybin
Suggestion by Bjeorn Sonnenschein from report #34755.
2013-04-05correction to previous warning cleanup, also quiet shadow-warning for ↵Campbell Barton
thumbnail `size`