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-05-14Cleanup: DRW: Remove uneeded _add suffix from DRW_shgroup_call_addClément Foucault
2019-05-14DRW: Refactor: Use DRWCall to accumulate per instance attributesClément Foucault
This is a big change that cleanup a lot of confusing code. - The instancing/batching data buffer distribution in draw_instance_data.c. - The selection & drawing code in draw_manager_exec.c - Prety much every non-meshes object drawing (object_mode.c). Most of the changes are just renaming but there still a chance a typo might have sneek through. The Batching/Instancing Shading groups are replace by DRWCallBuffers. This is cleaner and conceptually more in line with what a DRWShadingGroup should be. There is still some little confusion in draw_common.c where some function takes shgroup as input and some don't.
2019-05-14GPU: Add GPU_vertbuf_discard and GPU_BATCH_UNUSEDClément Foucault
GPU_vertbuf_discard to clear buffer containers in place. GPU_BATCH_UNUSED to tag batch that are cleared and not immediatly usable.
2019-05-14BLI_memblock: Add more optionsClément Foucault
- Use int instead of uint for safety and less conversions. - Add free callback - Add cleared alloc option
2019-05-14Cleanup: Remove DRWCallTypeClément Foucault
This simplify the rendering logic.
2019-05-14DRW: Fix threading hazard when rendering and using auto depthClément Foucault
2019-05-14Cleanup: DRW: Remove unused functionsClément Foucault
2019-05-14DRW: Change Procedural function to use a GPUBatchClément Foucault
This is in order to have VAO handled by thoses batches instead of using a common VAO. Even if the VAO has no importance in these case using a batch will help when transitioning to Vulkan.
2019-05-14Eevee: Replace DRW_shgroup_empty_tri_batch_create by procedural callsClément Foucault
2019-05-14Mesh Batch Cache: Fix use of uninitialized variableClément Foucault
2019-05-14DRW: Make Instance count not a pointerClément Foucault
Goal is still to simplify the draw manager.
2019-05-14Cleanup: Eevee: Make planar downsampling not use instance drawingClément Foucault
2019-05-14Cleanup: DRW: Remove pointers to materialsClément Foucault
2019-05-14GPU: Move Material index to nodetree evaluationClément Foucault
This removes the need to pass the Material* all over the place in the draw manager. Cleanup comming right after.
2019-05-14DRW: Remove ModelViewMatrix and ModelViewMatrixInverseClément Foucault
2019-05-14GPU: Remove ModelViewMatrix and ModelViewMatrixInverse usageClément Foucault
2019-05-14Fix T64588: some new theme preferences not savingBrecht Van Lommel
2019-05-14Fix T64339: Crash with UV sculpt after undoCampbell Barton
2019-05-14Keymap: add option for tilde key preferenceCampbell Barton
Since the view menu is redundant for people with a numpad, add a preference for it to switch between gizmos instead.
2019-05-14Preferences: file menu item to temporarily load factory settingsCampbell Barton
It's common to load factory settings as a test without wanting to overwrite your own settings on exit.
2019-05-14Preferences: set dirty flag when draggingCampbell Barton
2019-05-14Fix property update setting dirty flagCampbell Barton
2019-05-14Fix missing preference dirty taggingCampbell Barton
Tagging dirty was failing for UI scale, line width, hinting & others. Checking for an update function means all update functions need to tag preferences as dirty. Since this check was added to prevent the active section marking the preferences as dirty, only exclude this property.
2019-05-14UI: grey out 'Revert' when preferences aren't dirtyCampbell Barton
2019-05-14Fix T63802: textured lights not working with OSLBrecht Van Lommel
2019-05-14Fix T64561: wrong colorspace for Cycles displacement nodesBrecht Van Lommel
2019-05-14Fix compiler warning with OpenGL icon texturesBrecht Van Lommel
2019-05-13Fix T64292: world missing from outliner Scenes viewBrecht Van Lommel
2019-05-13Fix T64297: edit light energy not working for Eevee, when nodes existBrecht Van Lommel
Simplify code now that Cycles also has energy outside nodes.
2019-05-13Fix T64407: crash adding workspace after appending datablockBrecht Van Lommel
The files operator property should not be remembered for next operator executions, gives unexpected effects when using the operator again.
2019-05-13make.bat: add option for enabling the OpenGL based tests.Ray Molenkamp
2019-05-13Python API: expose conversion between tweaked NLA strip and scene time.Alexander Gavrilov
This is necessary to correctly do low-level keyframe manipulation in tweak mode, and the logic is complex enough that re-implementing it in Python is impractical.
2019-05-13Better support for (mirrored) bbone scaling in pose modePhilipp Oeser
since own rB5d9d32fd1fa3 (mirror bbone scaling in editmode) - bbone scaling in posemode was missing immediate updates - bbone scaling in posemode could crash This now properly supports mirroring in posemode as well. note: for bbone scaling, I made both X-Axis-Mirror options (editmode option as well as posemode option) valid. Fixes T64091 Reviewers: brecht Maniphest Tasks: T64091 Differential Revision: https://developer.blender.org/D4851
2019-05-13Apply Pose as Rest Pose: implement an Only Selected bones option.Alexander Gavrilov
The most difficult part is handling parent-child relations correctly: when a parent is applied, the children should be moved accordingly, and when applying a child, it should not include transformation from unapplied parents. All this requires walking bones as a tree, instead of a flat list. Limitation: Applying bones with non-uniform scaling without also applying children will distort non-rest posing on said children for reasons related to T54159 (basically, non-uniform scale plus rotation creates shear, and Blender matrix decomposition utilities don't have tools to deal with it). Reviewers: campbellbarton, brecht, mont29 Differential Revision: https://developer.blender.org/D3775
2019-05-13I18n Disambiguation: "Shift".Bastien Montagne
Give WM context to the shortcut, since this is more specific meaning than usual 'shifting' one... Part of T43295.
2019-05-13I18n Disambiguation: One more case of 'Root' falloff without 'Curve' context.Bastien Montagne
Part of T43295.
2019-05-13I18n Disambiguation: "Add" in menu labels.Bastien Montagne
This one is usually a verb/action one in menus' labels, hence we give it the Operator default context. Part of T43295.
2019-05-13Fix T63325: Drivers freezing input valueSergey Sharybin
Not sure why driver would be affecting on the behavior, the actual issue was caused by lack of proper relations built for lamps and cameras.
2019-05-13Fix T64387: Crash with driver copy/pasteSergey Sharybin
Was missing copy-on-write tag since lamp itself has no geometry or transform. Now tagging for animation, and taking care of special case in the dependency graph.
2019-05-13Cycles/Eevee: add Emission and Alpha inputs to Principled BSDFBrecht Van Lommel
This makes it easier to set up materials with emission and transparency. Importers/exporters and add-ons are recommended to now use these rather than creating separate transparent BSDF and emission nodes.
2019-05-13Cycles/Eevee: unify light strength and colorBrecht Van Lommel
Cycles lights now use strength and color properties of the light outside of the shading nodes, just like Eevee. The shading nodes then act as a multiplier on this, and become optional unless textures, fallof or other effects are desired. Backwards compatibility is not exact, as we can't be sure which renderer the .blend was designed for or even if it was designed for a single one. If the render engine in the active scene is set to Cycles, lights are converted to ensure overall light strength remains the same, and removing unnecessary shader node setups that only included a single emission node. If the engine is set to Eevee, we increase strength to remove the automatic 100x multiplier that was there to match Cycles. Differential Revision: https://developer.blender.org/D4588
2019-05-13Cycles/Eevee: unified and improved texture image color space handlingBrecht Van Lommel
Cycles now uses the color space on the image datablock, and uses OpenColorIO to convert to scene linear as needed. Byte images do not take extra memory, they are compressed in scene linear + sRGB transfer function which in common cases is a no-op. Eevee and workbench were changed to work similar. Float images are stored as scene linear. Byte images are compressed as scene linear + sRGB and stored in a GL_SRGB8_ALPHA8 texture. From the GLSL shader side this means they are read as scene linear, simplifying the code and taking advantage of hardware support. Further, OpenGL image textures are now all stored with premultiplied alpha. Eevee texture sampling looks a little different now because interpolation happens premultiplied and in scene linear space. Overlays and grease pencil work in sRGB space so those now have an extra conversion to sRGB after reading from image textures. This is not particularly elegant but as long as engines use different conventions, one or the other needs to do conversion. This change breaks compatibility for cases where multiple image texture nodes were using the same image with different color space node settings. However it gives more predictable behavior for baking and texture painting if save, load and image editing operations have a single color space to handle. Differential Revision: https://developer.blender.org/D4807
2019-05-13Tests: disable DoF in Eevee tests for now, it adds blurring with default valuesBrecht Van Lommel
2019-05-13Depsgraph: Use for_render flag for curves from depsgraphSergey Sharybin
Fixes issue with Eevee always using viewport curve resolution.
2019-05-13Curve: Remove duplicated and confusing argumentSergey Sharybin
Curve function had two arguments: - for_render, which was originally supposed to be used to control whether viewport or render visibility for modifiers is to be used. - use_render_resolution, which sounds like it is supposed to control whether viewport or render resolution for curves is to be used. What is totally confusing is that those arguments were used interchangeably: sometimes use_render_resolution would control modifiers visibility. This commit makes it so there is one single argument for this. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4850
2019-05-13Preferences: set dirty when editing quick favourites menuCampbell Barton
2019-05-13UI: Don't display markers in driver editorJacques Lucke
2019-05-13Fix T64403: crash sampling coloring in texture paint modeBrecht Van Lommel
2019-05-13Fix T64041: Vertex Sharp not working.Bastien Montagne
Broken in rB0ac3d5f7db67 last year...
2019-05-13UI: rename Load Preferences to RevertCampbell Barton