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
path: root/source
AgeCommit message (Collapse)Author
2018-04-16Depsgraph: remove EvaluationContext, pass Depsgraph instead.Brecht Van Lommel
The depsgraph was always created within a fixed evaluation context. Passing both risks the depsgraph and evaluation context not matching, and it complicates the Python API where we'd have to expose both which is not so easy to understand. This also removes the global evaluation context in main, which assumed there to be a single active scene and view layer. Differential Revision: https://developer.blender.org/D3152
2018-04-16Fix multi-object edit crashCampbell Barton
Border select assumed all objects had pose bones.
2018-04-16DRW: Fix outdated code.Clément Foucault
2018-04-16Object Mode: Rework outline drawing.Clément Foucault
This changes quite a few things. - Outline is now per object. - No more outline at object intersection (fix hairs problem). - Simplify the code quite a bit. We use a R16UI buffer to save one id per object outline. We convert this id to color when detecting the outline. Added textureGatherOffsets to the code but could not test on current hardware so leaving it commented for now.
2018-04-16GPU/DRW: Add GPU_R16UI format.Clément Foucault
2018-04-16DRW/GWN: Add callId builtin uniform.Clément Foucault
This uniforms can be used to have a unique id for each drawcall of a shgrp. This only works for standard shgroups and is an exception for the outline drawing.
2018-04-16DRW: Culling: Fix algorithm for asymmetric perspective frustum reconstruction.Germano
2018-04-16Cleanup: indentationCampbell Barton
2018-04-16Merge branch 'master' into blender2.8Campbell Barton
2018-04-16Cleanup: indentationCampbell Barton
2018-04-16Cleanup: indentationCampbell Barton
Indent lines for multi object editing, no functional changes. Also strip trailing space from indented regions.
2018-04-16Multi-Object EditingCampbell Barton
This adds initial multi-object editing support. - Selected objects are used when entering edit & pose modes. - Selection & tools work on all objects however many tools need porting See: T54641 for remaining tasks. Indentation will be done separately. See patch: D3101
2018-04-16Fix T54491: Do not avoid the creation of inverted frustum.Germano
Blender allows this. The Cube in the file in the report would always disappear with the non camera view. The clip_end was too small. The correction here is only on the assert.
2018-04-16Cleanup: indentationCampbell Barton
2018-04-16Merge branch 'master' into blender2.8Campbell Barton
2018-04-16Cleanup: indentationCampbell Barton
2018-04-16Cleanup: indentationCampbell Barton
2018-04-16DRW: Culling: Reorganize frustum_boundbox_calc to match comments.Germano
And Cleanup.
2018-04-16Fix unreported error: Algorithm for extracting the Bounding Sphere from an ↵Germano
Orthographic frustum was incorrect. There was double transformation.
2018-04-16Fix two more 'infinite recursions' cases in RNA pose.Bastien Montagne
2018-04-16Merge branch 'master' into blender2.8Campbell Barton
2018-04-16BKE_context: macro to access ID's while loopingCampbell Barton
2018-04-16Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-16Depsgraph: Pull indirect relations via driver targetsSergey Sharybin
2018-04-16Switch 'make static override' of group to making all objects local overrides.Bastien Montagne
Note: tried with a complex production file characters, this is currently totally non-functionnal (crashing even in a infinite recursion loop), IDProps and override need some love :(
2018-04-16Fix warning: Passed ID pointer where screen pointer was expectedJulian Eisel
2018-04-16Fix rBb31ebd8c5c55: the asymmetric furstrum algorithm was still incorrect.Germano
Although somewhat less micro efficient, I decided to separate the `viewinv` matrix to calculate the world position separately. This makes it easier to understand the code.
2018-04-16Cleanup: move some screen utility functions, from topbar branch.Julian Eisel
2018-04-16Cleanup: split off area reading/writing functions, from topbar branch.Julian Eisel
2018-04-16Fix stubsCampbell Barton
2018-04-16Fix T54609: Erros in precise BBox extraction algorithmGermano
2018-04-16Depsgraph: Tag scene after changing cursor locationSergey Sharybin
While 3d cursor is mainly an UI thing and isn't needed for scene evaluation, it is stored in scene DNA. This means, operator is inform depsgraph that data has changed, so all copies of that scene can copy new values. Fixes lack of visual feedback when changing cursor location in viewport with copy-on-write enabled.
2018-04-16Fix incorrect scene used for building freestyle stroke depsgraph.Brecht Van Lommel
2018-04-16Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-16Make ID icons safe for deletion from threadsSergey Sharybin
Added a lock-free deferred queue for deletion. Now if ID icon is requested to be freed from non-main thread, it will be added to the deferred list. Actual deletion will happen later from main thread. Currently actual deletion only happens next time BKE_icon_id_delete() is called, which might not be enough. But it's easy to enforce deferred deletion. Icons for preview images are not covered by deferred deletion yet. Reviewers: mont29 Differential Revision: https://developer.blender.org/D3146
2018-04-16Added lock-free single linked list implementationSergey Sharybin
Only supports lock-free insertion for now, can not delete element or traverse the list at the same time.
2018-04-16Fix object/bone select buffer big-endian sortingCampbell Barton
2018-04-16Cleanup: unused functionCampbell Barton
2018-04-16Merge branch 'master' into blender2.8Campbell Barton
2018-04-15Eevee: Cleanup remaining shadow geometry references.Clément Foucault
2018-04-15Eevee: Shadows: Transition to individual face rendering.Clément Foucault
This gets rid of the need of a geom shader and instancing. Both are pretty slow compared to the new method. The only moment the old method could be better is when scene is filled with lots of objects and most of the objects in the shadow map appear on every layer. But even then, we could optimize the culling and minimize the overhead.
2018-04-15DRW: Fix culling algorithm for cascade shadow maps.Clément Foucault
draw_frustum_boundbox_calc does not work properly it seems in this case.
2018-04-15DRW: Override matrices: fix const correctness.Clément Foucault
2018-04-15Cleanup: skip redundant edit-bone select lookupsCampbell Barton
2018-04-15Cleanup: Make access to widget triangle defines explicitJulian Eisel
E.g. the vertices created for each of the defines would require a certain offset. If you don't know what to look for, finding out about this is pretty difficult. Make them easily searchable instead.
2018-04-15Fix button triangle for "hold action" not workingJulian Eisel
There is quite some mess going on in that most of the old triangle drawing code is still there, but does almost nothing effectively. Instead values are hardcoded in the shader, however it doesn't support the drawing options the triangle functions expose. E.g. the 'where' variable to set triangle direction doesn't work.
2018-04-15Missed from last mergeCampbell Barton
2018-04-15Merge branch 'master' into blender2.8Campbell Barton
2018-04-15Cleanup: remove redundant args from ebone pickingCampbell Barton
Make this match editmesh picking more closely
2018-04-15Merge branch 'master' into blender2.8Campbell Barton