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
2019-10-02Merge branch 'master' into temp-gpencil-drw-engineAntonio Vazquez
Conflicts: source/blender/draw/engines/gpencil/gpencil_engine.c
2019-09-29Sculpt: disable workbench anti-aliasing during stroke paintingBrecht Van Lommel
This mostly happens automatically anyway since there is usually not enough time left over for it. But when it does it happen it breaks partial redraw, and may also have a negative impact on responsiveness. Ref T70295
2019-09-26Fix T69814: Grease Pencil Onion Skin Loop doesn't work as expectedAntonio Vazquez
The first element of the loop was not calculated for all onion modes. For select mode the first selected is used, for other modes the first frame in the layer is used.
2019-09-23Cleanup: remove unimplemented texture space rotation variablesBrecht Van Lommel
2019-09-23Fix selection and snapping misusing texture space as boundboxBrecht Van Lommel
This fixes the regression from T70103 introduced by the fix for T70103.
2019-09-23GPencil: Use correct comparison for non-bit valuesAntonio Vazquez
2019-09-21GPencil: Performance improvement for Multiframe and Onion SkinAntonio Vazquez
Before when Onion or Multiframe was enabled the VBO length was the total of points on the object for all frames and this results in a big size when the scene had a lot of frames. Now, the size of VBO length is calculated more precisely and reduce the time to alloc the VBO.This also reduce memory footprint.
2019-09-21Cleanup: Fix comment mistakeAntonio Vazquez
2019-09-21GPencil: Multiframe Show only Edit lines was invertedAntonio Vazquez
The flag was working in the oposite mode. Related to T70116
2019-09-21GPencil: Copy temp color in multiframeAntonio Vazquez
As the evaluated data is not calculated in multiframe, needs to have the original colors. Related to T70116
2019-09-21GPencil: Rename functionAntonio Vazquez
2019-09-20Fix T69995: Object Drawtype Set To Solid IssuesJeroen Bakker
When setting an object draw type to Solid it always used the Material color mode. This change only sets the material color when the viewport is set to display textures.
2019-09-19Fix T67471: hidden particle emitter occludes in Cycles rendered viewportBrecht Van Lommel
2019-09-19Fix T70077: GPenci Controls points are not displayed in right locationAntonio Vazquez
The problem was the unit matrix was not set in the uniform variable.
2019-09-19Cleanup: spellingCampbell Barton
2019-09-18GPencil: Create blank texture only once by engineAntonio Vazquez
This texture is used for missing textures as replace. Differential Revision: https://developer.blender.org/D5845
2019-09-17Fix T69809, T69810: sculpt gone or crashing after renderBrecht Van Lommel
Make a distinction between flush sculpt changes for rendering, and forcing sculpt data structures to be rebuilt after mesh changes. Also don't use PBVH for renders.
2019-09-17DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-17Fix T69716: Can't select geometry hidden by faces created by modifiersmano-wii
This kind of reverts rBc060a835 that was committed without discussion.
2019-09-16Fix eevee volumetrics distribution at 1.0Philipp Oeser
reported in T69662 Reviewers: fclem Differential Revision: https://developer.blender.org/D5809
2019-09-15Cleanup: quiet warning -WparenthesesCampbell Barton
2019-09-15Fix T69883: Deleting keyframe crashes blenderAntonio Vazquez
When delete in multiframe node the active frame gets NULL.
2019-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-14Revert "DRW: Refactor to support draw call batching"Clément Foucault
This reverts commit ce34a6b0d727bbde6ae373afa8ec6c42bc8980ce.
2019-09-13DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-12Fix T69752: Texture paint sampling colors always 'merged down'Philipp Oeser
Rgression from rBaf4dcc6073fa. paint_sample_color > imapaint_pick_face uses the the selection buffer (DRW_select_buffer_sample_point) and to get flat colors [select_id_flat] we need to be in SCE_SELECT_FACE mode. This was already fine if you had 'Face Selection Masking' turned on, but got colors including lighting when turned of [select_id_uniform]. There was already an exception in 'select_cache_init' that turns on SCE_SELECT_FACE for weightpaint, we just need this for texture paint (vertex paint) as well... Also moved the logic into select_id_get_object_select_mode. Note we were also asserting here: BLI_assert failed: /blender/source/blender/draw/engines/select/ select_engine.c:174, select_cache_init(), at 'e_data.context.select_mode != 0' Note also this is not working correctly for vertexpaint (yet), but has been discussed in T69752 and there is a solution by @mano-wii in P1032. Reviewers: mano-wii Subscribers: mano-wii Maniphest Tasks: T69752 Differential Revision: https://developer.blender.org/D5775
2019-09-11Depsgraph: Pass bmain to depsgraph object creationSergey Sharybin
Currently unused, but will allow to keep of an owner of the depsgraph. Could also simplify other APIs in the future by avoiding to pass bmain explicitly to relation update functions and things like that.
2019-09-10EEVEE: Volume: Fix error in fallback integration algoClément Foucault
2019-09-10EEVEE: Volume: Speedup: Use Image load store extensionClément Foucault
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5740
2019-09-10GPencil: New Simplify Tint optionAntonio Vazquez
This is useful to disable all layers tint in one step and it will be used for future operators.
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-09-09UI: Format Memory Strings in BinaryHarley Acheson
Show all memory-related byte size strings calculated with a base of 1024. Differential Revision: https://developer.blender.org/D5714 Reviewed by Brecht Van Lommel
2019-09-09Cleanup: GPencil small improvements in comparisonAntonio Vazquez
As the function `gpencil_onion_active()` has a loop, if some condition is false before we can avoid the loop.
2019-09-09GPencil: Fix unreported problem when main Onion switch is disabledAntonio Vazquez
The main switch was not checked and the function was doing all calculations, but the data was not used. This makes all slower than expected because the user had the Onion Skinning disabled, but internally was running.
2019-09-09GPencil: Fade layer using background colorAntonio Vazquez
Now the fade layer uses the same logic used to fade objects and also is available in all modes. Reviewers: mendio, pepeland Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D5707
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-09-07Cleanup: includes in headersCampbell Barton
Forward declare structs where possible.
2019-09-07Cleanup: style, spellingCampbell Barton
2019-09-07EEVEE: Shadows: Fix correlation issue between Shadows and Anti-AliasingClément Foucault
To fix this, we just scramble the halton sequence by multiplying by a large prime number. It seems to work fine in practice. We also tried Sobol sequence but it has a less uniform pattern for low number of sample. Fix T68594 Eevee: Soft shadows causing flickering in animation and temporal AA in scenes
2019-09-07EEVEE: Shadows: Fix incorrect shadowing near point lights sourceClément Foucault
2019-09-06EEVEE: Fix Ambient Occlusion on backfacesClément Foucault
N is already the Facing normal! Dummy!
2019-09-06GPencil: New option to fade not selected objectsAntonio Vazquez
Before, it was only possible to fade the active object. The new option allows to fade all non gpencil selected object. This is a common request by artists. {F7719513} Reviewers: mendio, pepeland Reviewed By: mendio Differential Revision: https://developer.blender.org/D5704
2019-09-06Viewport Shading: StudioLight IntensityJeroen Bakker
Add option to change the Intensity of the HDRI in the 3d viewport. This works for both EEVEE and Cycles Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5674
2019-09-05Fix T69513: Grease Pencil Fade Layers Overlay only works in Material and ↵Antonio Vazquez
Texture Shading The overlay factor was not used in other modes.
2019-09-05Eevee: Shadow map refactorClément Foucault
Reviewed By: brecht Differential Revision: http://developer.blender.org/D5659
2019-09-04Shading Modes: Material and Render PreviewJeroen Bakker
This change implements the basics as described in {T68312} for the shading modes. * LookDev shading mode is renamed to Material Preview. It always uses Eevee as renderer, and is intended to provide a fast material preview suitable for texture painting, and texture and material setup. * Rendered shading gains "Use Scene Lights" and "Use Scene World" options similar to current Material Preview. These will be enabled by default. When Use Scene World is turned off, HDRIs will be used for lighting instead. These options are available for EEVEE and Cycles. * Renderers will be able to customize the shading settings panel and add additional settings. Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5612
2019-09-03Fix selection engine checksCampbell Barton
- Don't use vertex selection in texture paint mode. - Don't allow mixing vertex & face flags in vert/weight paint modes.
2019-09-03Fix T69424: Weight paint sample doesn't workCampbell Barton
2019-08-29GPencil: For Stroke select don't display pointsAntonio Vazquez
Now, when it's selected the stroke select mode, the points are not displayed and the stroke is fully selected automatically extending the selection. Differential Revision: https://developer.blender.org/D5622
2019-08-27Workbench: Specular Highlighting for MatCapsJeroen Bakker
With Blender 2.80 we introduced a more flexible matcap system. One change we did was to multiply the matcap with the base color that was shaded. As matcaps contains diffuse and specular lighting in a single texture this lead to rendering artifacts. Artists were complaining that everything looked to metalic. We now support a separate `diffuse` and `specular` pass for matcaps. `shaded_color = diffuse_light * base_color + specular_light` For matcaps to support this feature they need to be multilayer openexr files with 2 renderpasses (named `diffuse` and `specular`). In the future we can change this to first pass/second pass in stead of this naming convention. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5335