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
2015-07-16Fix T45451: File Browser crash on 16bits PNG image previews.Bastien Montagne
Issue was that with those files, Blender generate a float image by default, not a byte one... Now, we ensure in two places we only get a byte imbuf for our thumbnails!
2015-07-13Cleanup: IMB prefix for ImBuf definesCampbell Barton
2015-07-13 Imbuf types refactor.Antony Riakiotakis
ImBuf types were getting stored as bitflags in a 32bit integer which had already run out of space. Solved the problem by separating file type to an ftype enum, and file specific options to foptions. Reviewed by Campbell, thanks a lot!
2015-07-11ImBuf: Fix compilation error with older libpngSergey Sharybin
Older libpng library does not use const pointer to a memory. The exact version is a bit of a guess here, maybe needs tweaks to it tho.
2015-07-11error in own last commitCampbell Barton
2015-07-11Avoid static var for OpenEXRCampbell Barton
2015-07-11Make Iris image loading thread-safeCampbell Barton
Needed for thumbnails
2015-07-11ImBuf: cleanup, use const for memory passed inCampbell Barton
2015-07-03Fix T45283: Blender crashes on some grayscale PNGs with alpha.Bastien Montagne
PNG_COLOR_TYPE_GRAY colortype can have some values for alpha, in the same way as PNG_COLOR_TYPE_PALETTE colortype. In this case, we need two channels (grayscale and alpha), not one.
2015-07-01Sequencer metadata:Antony Riakiotakis
Add option to render strip metadata to final result, bypassing current scene metadata.
2015-06-30Cleanup: move BLI_char_switch into BLI_stringCampbell Barton
2015-06-27Cleanup: all params of BLI_str partition funcs can be const...Bastien Montagne
2015-06-27OpenEXR cleanup: get rid of public `IMB_exr_split_token`, use BLI str ↵Bastien Montagne
helpers instead of own cooking.
2015-06-23Cleanup: styleCampbell Barton
2015-06-19Support half float file format storage for Multilayer EXRSergey Sharybin
Quite straightforward implementation -- all the conversion magic is happening in IMB_exr_write_channels() and remained changes are only needed to pass information whether channels is to be converted to half float or not. Regular file output will use full-float for Z pass, which matches behavior of the single layer EXR files. But when saving happens with File Output node then all the passes are respecting half float settings because it's not possible to distinguish whether we're saving Z pass or not. Reviewers: juicyfruit, campbellbarton Reviewed By: campbellbarton Subscribers: maxon, effstops, fsiddi Differential Revision: https://developer.blender.org/D1353
2015-06-19Cleanup: fix mismatch in printf formating (int/unsigned int).Bastien Montagne
Noisy and annoying with new gcc5...
2015-06-18Fix T45104: RGBA PNG Stereo 3d Anaglyph renders turn all shades of black ↵Dalai Felinto
into alpha in 2.75 RC1
2015-06-17Cleanup: duplicate includesCampbell Barton
2015-06-17ImBuf: Assert when read/write gets relative pathsCampbell Barton
We _never_ want this, so better not fail silently.
2015-06-12Fix for building without ffmpegCampbell Barton
2015-06-12Merge all changes to blenderplayer from gooseberry branch:Antony Riakiotakis
* Allows sound playback for movies * Allow play-pause with space button * Allow displaying a position indicator with the I button
2015-06-05ImBuf: Fix compilation error with latest OIIOSergey Sharybin
Latest OIIO libraries are using Boost libraries from the public headers.
2015-06-04Loading raw targa now sets the filetypeCampbell Barton
2015-06-04Fix for leak creating stereo imagesCampbell Barton
2015-06-03Fix memory leak loading multi-layer OpenEXRCampbell Barton
2015-06-03Fix memory leak loading single-layer OpenEXRCampbell Barton
Internal EXR API specifically avoids freeing non-file streams.
2015-06-02ImBuf: Fix memory leak around EXR handle's multiViewSergey Sharybin
2015-06-02Fix T44869: Crash rendering >2gb imagesCampbell Barton
2015-06-01Thumbnails: fix bad handling of invalid thumbnails, cleanup and deduplication.Bastien Montagne
Invalid thumbnails (missing mtime metadata) are to be re-generated, not ignored!
2015-06-01Font Preview: much better handling of i18n case.Bastien Montagne
We have to regenerate previews when we change language. But we also need to do it when translation is changed or added for a language, etc. Previously, we were storing one preview per language, which was also stuffing preview dir with (potentially) tens of PNGs per font file, if user plays with translations. Now we use a better system, which is storing an additional optional metadata in previews (some hexdigest), that Blender can use in addition to datetime to decide when to regenerate previews. This is only used (and needed) by font previews so far, but can easily be reused for other types of previews if needed.
2015-05-29Yet another attempt to fix T44869Antony Riakiotakis
Fix some integer overflow cases in colormanagement code
2015-05-29Fix T44882, color picker in texpainting doing linear interpolation evenAntony Riakiotakis
when mipmap is off. We used to always have nearest interpolation for texpaint but at least make this work with mipmap off correctly. Also added conversion casts to avoid integer overflow in filtering code
2015-05-26Building without OpenEXR works againCampbell Barton
2015-05-26Fix multilayer OpenEXR not supporting metadata.Antony Riakiotakis
This will fix exporting of metadata and importing for imbufs, but image editor will not display these metadata since multilayer gets converted to renderresult, which does not support metadata display yet. This commit is more meant for external image editors/viewers.
2015-05-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-05-19Support string metadata loading for OpenEXR files.Antony Riakiotakis
2015-05-19Fix T44759: Blender has problems reading and writing 42k images to PNGSergey Sharybin
2015-05-18Cleanup: use const for Imbuf file typesCampbell Barton
2015-05-12ImBuf: Update stubs so strict compiler is happy about unused argumentsSergey Sharybin
Also use C++-style unused arguments tagging instead of legacy c-style. It's less annoying this way because does not require adding argument to two places of the function.
2015-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-11GHash: avoid redundant castsCampbell Barton
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-05-04Fix metadata display in sequencer lost after doing a preprocessAntony Riakiotakis
transform. IMB_makeSingleUser makes a copy and destroys metadata. I am not sure if this is the safest way to make a single user ImBuf (setting the refcount to 0 is simpler and there's less, but no zero, risk of dangling pointers) but I will leave this as is for now in case there is an actual need for a copy here. The alternative approach should be tested at some point.
2015-04-30Fix T44541 aka gigapixel image render support in blender.Antony Riakiotakis
Moral of the story: Make sure that size_t is used whenever pointer arithmetic is involved. For images, that basically means whenever any squared dimensions are involved. Casting an operand to size_t early in the operation is usually sufficient to force the entire operation to size_t. There might still be places lurking where we don't support this correctly. This has been tested with render pipeline, quite a few image functions (meaning we can paint on such images now, albeit somewhat slowly ;) ) and export to jpeg. Too many places in code to check so I guess we'll be handling cases as they come. Don't try this at home unless you have an immense ammount of RAM. First GPixel render of suzanne in the multiverse can be found here: http://download.blender.org/demo/test/suzanne-billion-pixel.jpg Can be viewed from blender (takes about 3.3 GB after loading but may take more during loading so 8GB might be more safe to try this).
2015-04-30Cleanup: styleCampbell Barton
2015-04-29File browser - change thumbnails size with a sliderBastien Montagne
We can now scale from 32px up to 256px (default has been upgraded to 128px). Thumbnails are now generated as 'large', i.e. 256px. Previews are scaled up if necessary, unlike icons (for folders or files without preview images). Note that .blend thumbnails themselves remain in 128px for now (they are embeded in .blend files, not quite sure we want to make them four times bigger...). Patch by DMS (Yaron Dames), with final edits by myself. Reviewers: mont29 Subscribers: Severin, mont29 Differential Revision: https://developer.blender.org/D1260
2015-04-29Cleanup: make grumpy asan happy and do not use `new []` to allocate data ↵Bastien Montagne
freed by `free()`. Probably nothing crucial, but asan build would crash on that stupid glitch... Annoying.
2015-04-24OpenEXR: RenderResult should always have a RenderViewDalai Felinto
2015-04-21Metadata display support - patch by Julian and me.Antony Riakiotakis
Basically, blender adds a few metadata fields to images when we render an image. Those metadata can now be viewed in the image editor. Also, made sure metadata are available when we write imbufs to disc with "Save As". There may be more cases here that need fixing, but this means that loading an image with metadata will now properly preserve them in blender.
2015-04-20Cleanup: use bool /w flag checksCampbell Barton