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
2017-05-25TexFace removal part 3Campbell Barton
- MTexPoly structure & layer type. - The 'Mesh.uv_textures' layers. - DerivedMesh TexFace drawing. - Scripts & UI.
2017-03-02Remove tons of OBACTDalai Felinto
There are now only referenced in: * drawobject.c * particle_edit.c * space_image.c (a single case to be handled on workspace branch) * rigidbody_constraint.c (to be handled in the following commit)
2016-03-10Skip scopes update for render result during renderingSergey Sharybin
2016-02-01Correction to previous fix of multiple releases of same ImBufSergey Sharybin
Original change in d631252 was not quite correct because it was missing release since the acquire() will return NULL. Hopefully now all the cases are covered.
2016-01-24Fix lock release deadlock when acquiring pass with no data ready yetSergey Sharybin
There is no reason to do separate image buffer release when there's found buffer but with empty rects because of the following reasons: - All the acquire() calls are followed with corresponding release() calls, regardless of whether image buffer was empty, missing or whatever. - It was done wrong -- since lock was passed as NULL, it'll only de-reference the image buffer itself, this causes following: * Wrong user counter since there'll subsequent release() call with the proper lock passed to it. * Global locks are to be released prior to the spin locks, and such an extra release violated this rule.
2015-11-15UI: support cycling for image space menusCampbell Barton
also remove arrow buttons.
2015-05-08Cleanup: use r_* prefix for return argsCampbell Barton
2015-04-13Workaround T44351: Scopes make editmesh lagCampbell Barton
Scopes are very heavy to calculate and editmesh uv's can cause the image view to redraw. Best just disable scopes in this case.
2015-01-20Disable scope updates in texture and image paint modes.Lukas Tönne
Scope update is very slow for high resolutions, and currently blocks the UI thread(!). This is especially terrible in paint modes, where each stroke causes a scope update and unacceptable freezing. The scopes update method tries to avoid this somewhat by skipping if the toolbar is disabled, but this doesn't help when painting where brush tools etc. are frequently needed. It's also a bad-level poll, with the core system accessing a UI element. Eventually scope updates should become a low-priority background job, as well as becoming threaded. Until then this polling provides a usable workaround to the most outrageous cases.
2014-10-02Fix T42033 UVs shown while rendering in texture paint mode.Antony Riakiotakis
This should be included in final release build.
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-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-21View2d: API Cleanup for view<->region conversionCampbell Barton
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
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