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-05-17Cleanup: Remove asserts when logging error messages.Bastien Montagne
If we produce CLOG_ERROR messages and the error is not actually critical, there is no point in asserting too. Mainly related to ID user counts, and a few other ID management areas.
2022-05-17Cleanup: Use `BLI_assert_unreachable()` as example in comment of ↵Bastien Montagne
`_BLI_assert_abort`. Using `BLI_assert(0)` should typically be avoided now that we have `BLI_assert_unreachable`...
2022-05-17Cleanup: Use `switch` and `BLI_assert_unreachable()` more.Bastien Montagne
Replace some `if/else if` chains by proper `switch` statement. Replace some `BLI_assert(0)` calls by `BLI_assert_unreachable()` ones.
2022-05-17Cleanup: Use `switch` and `BLI_assert_unreachable()` more.Bastien Montagne
Replace some `if/else if` chains by proper `switch` statement. Replace some `BLI_assert(0)` calls by `BLI_assert_unreachable()` ones.
2022-05-17Cleanup: Use `switch` and `BLI_assert_unreachable()` more.Bastien Montagne
Replace some `if/else if` chains by proper `switch` statement. Replace some `BLI_assert(0)` calls by `BLI_assert_unreachable()` ones.
2022-05-17Cleanup: Use `switch` and `BLI_assert_unreachable()` more.Bastien Montagne
Replace some `if/else if` chains by proper `switch` statement. Replace some `BLI_assert(0)` calls by `BLI_assert_unreachable()` ones.
2022-05-17Cleanup: Use `switch` and `BLI_assert_unreachable()` more.Bastien Montagne
Replace some `if/else if` chains by proper `switch` statement. Replace some `BLI_assert(0)` calls by `BLI_assert_unreachable()` ones.
2022-05-17Cleanup: Use `switch` and `BLI_assert_unreachable()` more.Bastien Montagne
Replace some `if/else if` chains by proper `switch` statement. Replace some `BLI_assert(0)` calls by `BLI_assert_unreachable()` ones.
2022-05-17Merge branch 'blender-v3.2-release'Antonio Vazquez
2022-05-17Fix unreported: GPencil Time offset modifier Reverse only plays 2 timesAleš Jelovčan
This patch fixes long standing issue of reverse mode only performing loop 2 times and then stops displaying. Differential revision: https://developer.blender.org/D14921
2022-05-17Cleanup: fix compiler warningBrecht Van Lommel
2022-05-17Fix: Copy and paste error in curves RNAHans Goudey
Use a similar solution for meshes for curves symmetry updating.
2022-05-17Cleanup: Use const in curves sculpt codeHans Goudey
This makes it much clearer what data is supposed to be modified and what data is just used to influence the operation. The new `BKE_paint_brush_for_read` function isn't great design, but it can be removed or renamed if similar changes are applied to more places. Also pass pointers explicitly to `sample_curves_3d_brush` rather than reusing the `bContext`. This makes it clearer what data the function actually needs. Differential Revision: https://developer.blender.org/D14967
2022-05-17Cleanup: Order return arguments lastHans Goudey
2022-05-17EEVEE-Next: Fix missing break in switch statementClément Foucault
2022-05-17EEVEE-Next: Add camera moduleClément Foucault
2022-05-17DRW: Add DRW_view_camtexco_get()Clément Foucault
2022-05-17DRWWrapper: Add StorageFlexibleBufferClément Foucault
This buffer resizes on access.
2022-05-17DRW: Add SwapChain container to allow easier usage of double bufferingClément Foucault
The template also takes the length of the chain to allow triple buffering.
2022-05-17Merge branch 'blender-v3.2-release'Sergey Sharybin
2022-05-17Fix console errors about missing properties in circle selectSergey Sharybin
A regression since 113b8030ced9: circle selection operators does not define properties like deselect_all and a special name callback is to be used for those. This is what was already done for circle select in the 3D viewport. Some other spaces were using the generic pick operator for the circle selection which causes error prints in the console.
2022-05-17Remove incorrect poll method from `object.instance_offset_from_cursor`Sybren A. Stüvel
Remove poll method from the `OBJECT_OT_instance_offset_from_cursor` operator. It was checking for `context.active_object`, but not even doing anything with the active object. It'll get in the way of exposing this operator in another area of the interface, though.
2022-05-17Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-17Preferences: Moved Sculpt texture paint to prototypes.Jeroen Bakker
Sculpt texture paint should not be considered as a new feature just yet. There are many designs still missing that could drive changes.
2022-05-17Update tests to account for Text.as_string not adding a trailing newlineCampbell Barton
Regression in tests from [0] tests were written to assume a newline was added to the result of Text.as_string which is no longer the case. [0]: f4ff36431ccfac2f0a99fc23c18fe0d9de38b36d
2022-05-17Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-17Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-17Fix click detection for simulated eventsCampbell Barton
Refactoring event click-drag detection broke click detection for simulated events. Resolve this by sharing logic for update previous values in `wmWindow.eventstate` for regular event handling (no functional changes for non-simulated events). Failure to detect clicks for simulated events broke the undo test `test_undo.view3d_multi_mode_select` in `../lib/tests/ui_simulate/run.py`. All undo tests now pass.
2022-05-17Fix text.as_string() adding a trailing new-lineCampbell Barton
Moving Text.as_string() from Python to C [0] added an extra new-line causing a round-trip from_string/to_string to add a new-line, this also broke the undo test `test_undo.text_editor_simple` in `../lib/tests/ui_simulate/run.py`. [0]: 231eac160ee394d41c84e0cc36845facb7594ba5
2022-05-17Cleanup: Deduplicate Alembic procedural bounding box mesh creationHans Goudey
This removes the manual construction of a box mesh in the mesh sequence cache modifier when the Alembic procedural is enabled. It also removes the use of `BKE_object_boundbox_get` which doesn't make sense on a non-evaluated object. Differential Revision: https://developer.blender.org/D14958
2022-05-17Merge remote-tracking branch 'origin/blender-v3.2-release'Jesse Yurkovich
2022-05-17Fix T96414: Stencil mapping is incorrect for UDIMsJesse Yurkovich
When texture painting, brush textures and brush texture masks were not transformed to account for UDIM tiles. Differential Revision: https://developer.blender.org/D14671
2022-05-17Cleanup: spelling in commentsCampbell Barton
2022-05-17Fix T98185: Assertion saving while fullscreenCampbell Barton
When saving from the menu the region was not set, causing the last region in `area->regionbase` to be used as the region was assigned before comparison.
2022-05-17Fix DPX/CINEON writing full file paths into image headers on WIN32Campbell Barton
Use back-slashes to find the file-name component on windows.
2022-05-17Cleanup: use term 'filepath' for full file pathsCampbell Barton
2022-05-17ImBuf: replace exit(1) with assert when writing IRIS imagesCampbell Barton
In this case memory past the buffer bounds would have been written, potentially crashing. Replace the check with an assert since this should never happen. Also don't call exit as failing to write a file shouldn't exit Blender.
2022-05-17Cleanup: better doc-string for iris, order args & use const variablesCampbell Barton
2022-05-17Cleanup: formatCampbell Barton
2022-05-17Cleanup: compiler warningsCampbell Barton
2022-05-16VSE: Delete Strip and Scene Data in one stepAntonio Vazquez
Actually, delete the strip only deletes the container, but not the linked data. This patch adds the option to delete the scene also. This is very handy for storyboarding. Reviewed By: ISS Maniphest Tasks: T97683 Differential Revision: https://developer.blender.org/D14794
2022-05-16VSE: Add new Scene and StripAntonio Vazquez
This operator allows to add a new scene at the same time that the strip. This is very handy for storyboarding. Reviewed By: ISS Maniphest Tasks: T97678 Differential Revision: https://developer.blender.org/D14790
2022-05-16VSE: New Change Scene option in Change menuAntonio Vazquez
This is a new option in `C` key menu. Reviewed By: mendio, ISS Maniphest Tasks: T97711 Differential Revision: https://developer.blender.org/D14807
2022-05-16Fix std::optional value() build error on older macOS SDKBrecht Van Lommel
No longer happens on the buildbot, but for users building with an older Xcode, still need to avoid using value(). Differential Revision: https://developer.blender.org/D14883
2022-05-16Merge remote-tracking branch 'origin/blender-v3.2-release'Sybren A. Stüvel
2022-05-16Fix T96289: Crash when accessing mesh via `ob.data` in a driverSybren A. Stüvel
Fix a crash when a driver variable targets an object and uses `data.shape_keys.key["name"].value` in its expression. The fix consists of adding an extra relation from the targeted object's `GEOMETRY` component to the driver evaluation. This ensures that its `data` pointer has been evaluated by the depsgraph and is safe to follow. This also resolves the concern raised on rB56407432a6aa. Reviewed by: brecht Differential Revision: https://developer.blender.org/D14956
2022-05-16Fix: Node editor "Group" panel displays for embedded node treesHans Goudey
Embedded node trees are not groups, since their inputs and outputs are not exposed anywhere. So these panels should not be displayed.
2022-05-16Fix image saving incorrectly overrding non-color data color spaceBrecht Van Lommel
In such cases we should not automatically change the color space.
2022-05-16LibOverride: Do not write Surface Deform modifier binding data.Bastien Montagne
Skip writing binding data and similar for override modifiers already present in reference linked data, as this can use a lot of space, and is fully useless data typically since we already skip writing Mesh geometry data itself. Ref. T97967.
2022-05-16LibOverride: Do not write Laplacian Deform modifier binding data.Bastien Montagne
Skip writing binding data and similar for override modifiers already present in reference linked data, as this can use a lot of space, and is fully useless data typically since we already skip writing Mesh geometry data itself. Ref. T97967.