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
2022-01-11Deduplicate cross_poly implementationClément Foucault
2022-01-11Simplify template macrosClément Foucault
2022-01-11Add asserts that modulo second argument is not zero.Clément Foucault
2022-01-11Move `is_zero` and `is_any_zero` to `blender::math` namespace.Clément Foucault
2022-01-11Use early return instead of result variable.Clément Foucault
2022-01-11Merge branch 'master' into tmp-vector-templateClément Foucault
2022-01-11Docs: correct doc-string for bl_run_operators_event_simulateCampbell Barton
The event() action swapped type/value arguments.
2022-01-11Set uint_type as void if type is larger than 64bitsClément Foucault
2022-01-11Use `using` instead of typedef inside of vec_baseClément Foucault
2022-01-11Fix template specialization errorClément Foucault
2022-01-10macOS: fix xcrun sdk detection for minimal CLTAnkit Meel
Differential Revision: https://developer.blender.org/D13783
2022-01-10BLI_math_vec_types: Add bit shift operatorsClément Foucault
2022-01-10Rework macro name and add manhattan distance & Length functionsClément Foucault
2022-01-10Docs: Add comments to node socket struct headerHans Goudey
2022-01-10UI: Allow AltGr Key + C,V,X Text InputHarley Acheson
Slight change to our processing of Ctrl-C, Ctrl-V, and Ctrl-X so that they will not be triggered if Alt is also pressed. This allows entry of AltGr-C, -V, -X when using International keyboard layouts. See D13781 for more details Differential Revision: https://developer.blender.org/D13781 Reviewed by Brecht Van Lommel
2022-01-10BLI_math_vector: Split vector template and vector functions into 2 filesClément Foucault
Also rework the macros to be less context dependent.
2022-01-10BLI_math_vector: Remove old implementationClément Foucault
2022-01-10BLI_math_vector: Templated version of vector type that supports sizeClément Foucault
This removes many code duplication and allow for arbitrary size of vector.
2022-01-10Fix T94434: Windows IME Pinyin Forward SlashTakahiro Shizuki
Treat "/" as a key that should be evaluated by the Win IME system when the input language is Chinese. This fixes a duplication of the input character and results in the expected output of a Chinese wide comma. See D13771 for more details. Differential Revision: https://developer.blender.org/D13771 Reviewed by Brecht Van Lommel
2022-01-10Tests: disable all but one simple test for the Cycles Metal deviceBrecht Van Lommel
Until all tests are passing, this lets us run a basic test on the buildbot. Ref T92212
2022-01-10Fix T94111: nurb normal calculation does not workJacques Lucke
The normals were computed with an uninitialized tilt.
2022-01-10Fix compilation error after recent fixSergey Sharybin
For some reason GCC accepted C++-style of unused variable marking.
2022-01-10Fix compile error with msvcJacques Lucke
2022-01-10Fix T93727: Tiled render error in Cycles after changing temp directorySergey Sharybin
Consider temporary directory to be variant part of session configuration which gets communicated to the tile manager on render reset. This allows to be able to render with one temp directory, change the directory, render again and have proper render result even with enabled persistent data. For the ease of access to the temp directory expose it via the render engine API (engine.temp_directory). Differential Revision: https://developer.blender.org/D13790
2022-01-10Fix second render failure with Cycles persistent dataSergey Sharybin
The issue was caused by the recent changes in the way how the render result is drawn: the display driver now could hold an OpenGL resources. Those resources are not shared across contexts so whenever OpenGL context is destroyed those resources are to be destroyed as well (and not attempted to be re-used for a next render). Do such destruction and entire driver re-creation since it does simplifies things from API usage point of view without causing measurable slowdown. Steps to reproduce the issue: - Set the render resolution to 2x of Full HD - Enable persistent data - Render (F12) - Render again Observe OpenGL state being corrupted. Easy to see in debug mode where IMM abstraction level reports issues about the buffer size not being the proper size. This was caused by the display driver trying to use VAO from the previous OpenGL context. Differential Revision: https://developer.blender.org/D13789
2022-01-10BLI_utildefines: Move BLI_ENABLE_IF to utildefinesClément Foucault
This is a more suitable place for it to be use throughout the codebase.
2022-01-10Fix T94661: Out-of-bounds memory access due to malformed DDS image fileSergey Sharybin
Harden bounds check in the stream reader avoiding integer overflow.
2022-01-10Merge branch 'master' into tmp-vector-templateClément Foucault
# Conflicts: # source/blender/blenlib/BLI_float2.hh # source/blender/blenlib/BLI_float3.hh # source/blender/blenlib/BLI_float4.hh
2022-01-10BLI_floatX: Add most missing constructors and operatorClément Foucault
This should have no side effect. This reverse the dependency, with `float2` being needed for `float3` and so on. This is needed for extensive usage of these types in the draw engines. Differential Revision: https://developer.blender.org/D13756
2022-01-10Fix Cycles compilation with Optix on Windows.Thomas Dinges
Since Optix 7.3 is required, update the default path accordingly.
2022-01-10Fix T94766: texture coordinates from other object do not refreshJacques Lucke
The core issue is that flushing dependencies are created from an object to a node tree when it contains e.g. a Texture Coordinate node. That is an issue because the evaluation of the node tree itself does not depend on the object (node tree evaluation is essentially a no-op). Only other systems that parse and evaluate the node tree in a specific context actually depend on e.g. the position of the referenced object. It can even be the case that the node tree depends on objects that the actual evaluator (geometry nodes modifier/material) does not depend on, because a node is not connected to the output. Geometry nodes makes the distinction between dependencies to the node tree and to the evaluator already. Shader nodes do not. Therefore, shader nodes need a flushing relation from node groups to their parent node groups. This brings back some unnecessary updates from rB7e712b2d6a0d (e.g. when creating a node group from nodes that are not connected to the output). This is a bit unfortunate, but refactoring how dependencies work with shader nodes is a out of scope for this fix.
2022-01-10Fix error when keyframing with Custom PropertiesDemeter Dzadik
Since rBf9ccd26b037d, calling `data.path_resolve()` on custom properties with `None` value do not cause a `ValueError` exception any more. This is now taken into account in the keying sets targeting custom properties. Reviewed By: sybren Differential Revision: https://developer.blender.org/D13787
2022-01-10Remove GPU_SHADER_2D_POINT_FIXED_SIZE_UNIFORM_COLOR.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_2D_POINT_VARYING_SIZE_VARYING_COLOR.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_2D_POINT_UNIFORM_SIZE_VARYING_COLOR_OUTLINE_AA.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_3D_POINT_FIXED_SIZE_UNIFORM_COLOR.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_3D_POINT_VARYING_SIZE_UNIFORM_COLOR.Jeroen Bakker
Shader isn't used and not accessible via the py-api.
2022-01-10Remove GPU_SHADER_3D_POINT_UNIFORM_SIZE_UNIFORM_COLOR_OUTLINE_AA.Jeroen Bakker
Shader isn't used and isn't accessible via py-api.
2022-01-10Cleanup: Remove unused source files.Jeroen Bakker
2022-01-10Cleanup: Consistent naming GPU_SHADER_2D_AREA_BORDERS.Jeroen Bakker
2022-01-10GPU: Remove unused UV shaders.Jeroen Bakker
The UV shaders have been migrated to the overlay engine and aren't accessible via the python API.
2022-01-10Cleanup: add utility macro to simplify using std::enable_ifJacques Lucke
2022-01-10Fix T94409: GPencil smooth stroke thickness operator weird resultAntonio Vazquez
The smooth was not working "smoothly" and any change in the factor produced a weird result.
2022-01-10Fix compile error in gpu test.Jeroen Bakker
2022-01-10Fix T94600: Apply single shrinkwrap constraint failsPhilipp Oeser
rBd6891d9bee2b introduced a way to apply a single constraint from the constraint stack. For this we want to work in the evaluated domain, in particular the constraint target should be evaluated (the shrinkwrap constraint needs to have access to the target's evaluated mesh). Thx a lot to @sergey for handholding here! Maniphest Tasks: T94600 Differential Revision: https://developer.blender.org/D13765
2022-01-10Motion Path: Tweak the User InterfaceDalai Felinto
This moves the clear paths button ("X") to the same line of "Update All Paths", and make it visible at all times. 1. The clear button affects all objects (by default). However the Calculate/Update Paths only works on the selected objects/objects. Better to not have them both on the same line. 2. The operator to clear object and pose paths can run even if the active object/bone has no motion path. However the UI was not showing the button in those cases. Before: {F12757500, size=full} After: {F12757502, size=full} Differential Revision: https://developer.blender.org/D13609
2022-01-10Fix out of bounds memory access displaying the compositor crop gizmoCampbell Barton
Regression from typo in cbca71a7cff394b0c5d670f87f2b480f526ba6dd.
2022-01-10Compositing Convert color space nodeJeroen Bakker
Compositor node to convert between color spaces. Conversion is skipped when converting between the same color spaces or to or from data spaces. Implementation done for tiled and full frame compositor. Reviewed By: Blendify, jbakker Differential Revision: https://developer.blender.org/D12481
2022-01-10Cleanup: Wintab input processing.Nicholas Rishel
Switched populating GHOST_WintabInfoWin32 vector from resizing and assigning to reserving and pushing. Removed unnecessary state tracking for multiple button presses in a single packet. Paired initialization with definition, and added default initialization for GHOST_WintabInfoWin32.
2022-01-10Cleanup: note that compositor vector blur shares logic with zbuf.cCampbell Barton
Note that some functions have been copied between these files. De-duplication isn't trivial as there are differences in some functions.