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-01-27Code cleanup: use booleans where appropriateCampbell Barton
2013-05-23Fix #35449: image sequences to drive e.g. particle length or used in modifiersBrecht Van Lommel
were no properly updating when rendering animations. The render engine was only updating the image user current frame on images used by material textures. Now moved the function that updates all from the editors to blenkernel level and do it on all frame changes.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2012-12-18fix [#33580] Masking keyframes disappear from dope sheet when using undo.Campbell Barton
2012-12-14Fix #33525: Mask points are add offset for the mouse when adding on viewer ↵Sergey Sharybin
node with aspect != 1 It was strange logic in code from 2010 which forced image aspect to be 1 for viewer nodes and render results. Not sure why it's needed, was only used for unwrapping aspect correction, but render result/viewer images are already handled differently there.
2012-11-15Image thread safe improvementsSergey Sharybin
This commit makes BKE_image_acquire_ibuf referencing result, which means once some area requested for image buffer, it'll be guaranteed this buffer wouldn't be freed by image signal. To de-reference buffer BKE_image_release_ibuf should now always be used. To make referencing working correct we can not rely on result of image_get_ibuf_threadsafe called outside from thread lock. This is so because we need to guarantee getting image buffer from list of loaded buffers and it's referencing happens atomic. Without lock here it is possible that between call of image_get_ibuf_threadsafe and referencing the buffer IMA_SIGNAL_FREE would be called. Image signal handling too is blocking now to prevent such a situation. Threads are locking by spinlock, which are faster than mutexes. There were some slowdown reports in the past about render slowdown when using OSX on Xeon CPU. It shouldn't happen with spin locks, but more tests on different hardware would be really welcome. So far can not see speed regressions on own computers. This commit also removes BKE_image_get_ibuf, because it was not so intuitive when get_ibuf and acquire_ibuf should be used. Thanks to Ton and Brecht for discussion/review :)
2012-10-27use min/max inline functions where MIN2/MAX2 were doing type conversion.Campbell Barton
2012-10-05Code cleanup: fix some clang checker warnings.Brecht Van Lommel
2012-09-24fix for issue where you could easily make zero user datablocks (especially ↵Campbell Barton
with masks which default to fake user). - Make mask - assign to image editor - disable fake user This would make the image space reference a zero user mask datablock which wouldn't be saved. solve the bug by making mask and image assignments check the real usercount of the ID block (not taking into account fake user).
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-13Fix #32547: unwrap on default cube got broken in recent commit.Brecht Van Lommel
2012-09-13fix [#31946] Masking doesn't respect pixel ratioCampbell Barton
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-18style cleanup: also correct some doxy commentsCampbell Barton
2012-08-04allow editing masks in an image space when there is no image.Campbell Barton
also simplify image listener.
2012-07-31changes to mask editingCampbell Barton
- use Alt to modify all mask feather at once while dragging. - copying a multi-user mask from the interface works now. - show masks when UV editing isnt used, rather then checking editmode (would give some odd/annoying image space header). - add a fake mask user by default. - moving points with LMB drag no longer selects them.
2012-07-31resolve glitch in the image space where mask editing and UVs would conflict.Campbell Barton
now UV editing overrides mask.
2012-07-27code cleanup: pass mouse position as int[2] rather then wmEventCampbell Barton
2012-07-26add ED_space_image_get_size_fl, ED_space_clip_get_size_flCampbell Barton
2012-07-26mask/image editor now works for border select and lassoCampbell Barton
2012-07-26mask/image viewer now works with non 1:1 image aspect, editing masks in the ↵Campbell Barton
image viewer should be generally usable now though still some TODO's left.
2012-07-25mask transform now works in the image spaceCampbell Barton
2012-07-25match function names for clip/image spacesCampbell Barton
2012-07-25mask UI for space imageCampbell Barton
2012-07-25image space now has a mode for view/paint/mask editing.Campbell Barton
2012-07-25wip mask/image commit, mostly internal function & added some TODO'sCampbell Barton
2012-07-25move ED_image functions into their own file.Campbell Barton