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-04-21Fix T97497: NLA strip names are now properly contained within the strip boundsdraw-deferred-compilation-experimentColin Basnett
Very easy fix, the bug seemed to be a result of a typo on the right-most margin. Old: {F13013777} New: {F13013782} Maniphest Tasks: T97497 Differential Revision: https://developer.blender.org/D14711
2022-04-21Fix Empty "Only Axis Aligned" viewing angle depends on object scalePhilipp Oeser
This was projecting the unnormalized z scale axis onto the plane defined by the view vector. If object scale was very small, this made the empty still visible at viewing angles far from the object axis. Now use the normalized z scale axis to make this work the same at all object scales. Fixes T97004. Maniphest Tasks: T97004 Differential Revision: https://developer.blender.org/D14557
2022-04-21Fix T97465: Moving compositor BG image cannot be cancelledPhilipp Oeser
This was possible with the gizmo, but no using the operator (e.g. from the sidebar). Now store original offsets and reset to these on calcel (ESC or RMB). Maniphest Tasks: T97465 Differential Revision: https://developer.blender.org/D14704
2022-04-21Sculpt: fix missing null pointer checkJoseph Eagar
in workbench_engine.c
2022-04-21Fix T95932: Auto-close text breaks outliner drag-n-dropCampbell Barton
Text inserted via TEXT_OT_insert would always have auto-close logic applies which interfered any insertion of literal strings containing brackets. Now auto-closing brackets is restricted to characters read from events from the operators invoke functions.
2022-04-21Cleanup: clang formatJacques Lucke
2022-04-21Cleanup: fix various warnings after recent commitJacques Lucke
2022-04-21Vertex paint: Fix debug compile error and aJoseph Eagar
few warnings.
2022-04-21Fix T97185: Data transfer modifier doesn't displayJoseph Eagar
individual layers. A few RNA property strings were misspelled.
2022-04-21Fix T97469: Sculpt colors crash in multiresolution or dynamic topology modes.Joseph Eagar
Sculpt paint tools now pop up an error message if dynamic topology or multires are enabled. Implementation notes: * SCULPT_vertex_colors_poll is now a static function in sculpt_ops.c. It is now used solely by the legacy color attribute conversion operators (SCULPT_OT_vertex_to_loop_colors and SCULPT_OT_loop_to_vertex_colors) and should be deleted when they are. * There is a new method, SCULPT_handles_colors_report, that returns true if the sculpt session can handle color attributes; otherwise it returns false and displays an error message to the user.
2022-04-21Commit D14179: Revamp Vertex Paint With C++Joseph Eagar
- Verrtex paint mode has been refactored into C++ templates. It now works with both byte and float colors and point & corner attribute domains. - There is a new API for mixing colors (also based on C++ templates). Unlike the existing APIs byte and float colors are interpolated identically. Interpolation does happen in a squared rgb space, this may be changed in the future. - Vertex paint now uses the sculpt undo system. Reviewed By: Brecht Van Lommel. Differential Revision: https://developer.blender.org/D14179 Ref D14179
2022-04-21Text Editor: add Python 3.10 soft keywords to `builtinfunc` listJon Denning
Python 3.10 has added "soft keywords" [0] to their list of identifiers. This patch adds these soft keywords to the list of builtin functions that the text editor searches for when highlighting Python code. The only soft keywords that Python 3.10 current has are: `match`, `case`, and `_`, but more will likely be added in future versions. Currently, the `_` soft keyword is ignored from highlighting. It is a wildcard matching pattern when used with `case` (similar to `default` for `switch`es in C/C++), but `_` is far more often used in other contexts where highlighting the `_` might seem strange. For example, ignoring elements when unpacking tuples (`_, g, _, a = color`). This patch also updates the commented Python code for creating the list of keywords, for convenience. Before: {F13012878} After: {F13012880} Example from PEP-636 [1] Note: These soft keywords are only reserved under specific contexts. However, in order for the text editor to know when the keywords are used in the appropriate contexts, the text editor would need a full-blown Python grammar [2] parser. So, for now, these keywords are simply added in along with the other keywords in order to highlight them in the text editor. [0]: https://docs.python.org/3/reference/lexical_analysis.html#soft-keywords [1]: https://peps.python.org/pep-0636/#matching-specific-values [2]: https://docs.python.org/3/reference/grammar.html Ref D14707
2022-04-21Cleanup: explicitly disable autopep8 for rna_manual_referenceCampbell Barton
Currently the "exclude" option for autopep8 isn't as reliable as it should be since passing in absolute paths to autopep8 causes the paths not to match. See: D14686 for details. So explicitly disable autopep8 in this generated file (the generator has already been updated). Also use spaces for indentation otherwise autopep8 re-indents them. This seems like a bug in autopep8 since it's changing lines with autopep8 disabled. Use a workaround instead of looking into a fix since it's simpler for all our Python files to use spaces instead of tabs and there isn't much benefit mixing indentation for scripts.
2022-04-21Fix typo in previous commitRichard Antalik
2022-04-21Cleanup: VSE effect relationship checkingRichard Antalik
Use `SEQ_relation_is_effect_of_strip` for checking effect-input relationship where this is applicable.
2022-04-21Fix T70844: Incorrect snappping of strips when effects attachedShrey Aggarwal
Sometimes, when moving strip with 2 input effect attached and causing strip overlap, this overlap is resolved incorrectly - too big offset is applied. This is because effects are not taken into consideration when "shuffeling" to resolve overlap. To fix usual cases (transitions), overlap between strip and it's effect is considered to be impossible. There are edge cases, but these would be much more complicated to implement and could have negative impact on performance. Reviewed By: ISS Differential Revision: https://developer.blender.org/D14578
2022-04-21VSE: Add frame selected operator for previewok what
This operator moves the view to show the selected visible strips. Reviewed By: ISS Differential Revision: https://developer.blender.org/D14222
2022-04-21Fix T97254: VSE channel mute does mute soundRichard Antalik
Add missing RNA update function
2022-04-21Fix T97356: Crash when adding adjustment layer stripRichard Antalik
Crash was caused by incorrectly assuming, that rendered strip is meta when editing code in bulk, but this wasn't true and strip had no channels initialized, which caused crash on NULL dereference. Correct approach is to find list of channels where on same level as rendered strip, similar to how `SEQ_get_seqbase_by_seq` function works for list of strips.
2022-04-21GL: Change array macro to not conflict with opensubdiv variable namesClément Foucault
Fix T97449 GPU subdivision: Crash on adding subdivision surface modifier
2022-04-21Revert "Fix GPU subdivision: Crash on adding subdivision surface modifier"Clément Foucault
The fix does not fix the case of shaders comming from the OpenSubdiv API. This reverts commit f5191b87608f6607aa1dbd4b9409174db351984b.
2022-04-21Revert "Fix Cycles HIP assuming warp size 32"Brecht Van Lommel
This reverts commit 390b9f1305059f5d8c7f944d44fc3e5821a3eb82. It seems to break things on Linux for unknown reasons, so leave it out for now. A solution to this will be required for Vega cards though.
2022-04-21LibOverride: Make 'custom bone shape' and 'bbone custom handle' non-overridable.Bastien Montagne
There is not much point in having those editable in overrides, and since those are pointers, their value always differs from ref linked ID vs. local override one, generating 'noise' in Outliner's override property view.
2022-04-21UI: Add option to create color attribute directly from canvas selector.Jung Jaeyun
Added + and - buttons to create and delete color attributes from canvas selector. {T97345} {F13006374} Reviewed By: jbakker, Ethan1080 Maniphest Tasks: T97345 Differential Revision: https://developer.blender.org/D14672
2022-04-21Build: updates for Blender to build against new 3.2 librariesBrecht Van Lommel
Building against the existing 3.1 libraries should continue to work, until the precompiled libraries are committed for all platforms. * Enable WebP by default. * Update Windows for new library file names. * Automatically clear outdated CMake cache variables when upgrading to new libraries. * Fix static library linking order issues on Linux for OpenEXR and OpenVDB. Implemented by Ray Molenkamp, Sybren Stüvel and Brecht Van Lommel. Ref T95206
2022-04-21Build: upgrade many library dependencies to new versions for Blender 3.2Ray Molenkamp
This only updates the build system, precompiled libraries for the various platforms will be committed over the coming week. New: fmt 8.0.0 level_zero v1.7.15 pystring v1.1.3 robinmap v0.6.2 webp 1.2.2 Updated: alembic 1.8.3 blosc 1.21.1 boost 1.78.0 embree 3.13.3 ffmpeg 5.0 fftw 3.3.10 flac 1.3.4 imath 3.1.4 ispc v1.17.0 jpeg 2.1.3 ogg 1.3.5 oidn 1.4.3 openal 1.21.1 opencolorio 2.1.1 openexr 3.1.4 openimageio v2.3.13.0 openjpeg 2.4.0 opensubdiv v3_4_4 openvdb 9.0.0 osl 1.11.17.0 sdl 2.0.20 tbb 2020_u3 tiff 4.3.0 usd 22.03 vorbis 1.3.7 vpx 1.11.0 x264 35fe20d1b zlib 1.2.12 Implemented by Ray Molenkamp, Sybren Stüvel and Brecht Van Lommel. Ref T95206
2022-04-21Cleanup: Remove redundant types from custom data masksHans Goudey
Colors and byte colors are already included in `CD_MASK_PROP_ALL`.
2022-04-21Cleanup: Rename CD_MLOOPCOL to CD_PROP_BYTE_COLORHans Goudey
The "PROP" in the name reflects its generic status, and removing "LOOP" makes sense because it is no longer associated with just mesh face corners. In general the goal is to remove extra semantic meaning from the custom data types.
2022-04-21PBVH: Pass Mesh to extract internals.Jeroen Bakker
More mesh data is required when extracting the UV seams. This is an API change for to support this future enhancement.
2022-04-21Fix T94775: Buggy liboverride default apply code for items insertion in RNA ↵Bastien Montagne
collections. For some reason, the rework of liboverride handling of Collection items insertion (rB33c5e7bcd5e5) completely missed to update accordingly the default liboverride apply code... Many thanks to Wayde Moss (@GuiltyGhost) for the investigation and proposed solution.
2022-04-21Fix (unreported) huge liboverride slow-down due to non-disabled UV layer props.Bastien Montagne
Was revealed by yesterday's fix (rB6f56bd4083f9).
2022-04-21Fix compilation without OpenVDBKévin Dietrich
2022-04-21Cleanup: remove unused curves toolsettingJacques Lucke
2022-04-21Fix GPU subdivision: Crash on adding subdivision surface modifierClément Foucault
This was caused by the use of a reserved keyword macro that is not directly used but causes an error on some compiler. Change the occurences to not match the macros.
2022-04-21Cleanup: run autopep8 on tests/performance/benchmarkCampbell Barton
This file was skipped by source/tools/utils/autopep8_clean.py since it doesn't have a .py extension, running the autopep8 tool recursively detects Python scripts without extensions.
2022-04-21Cleanup: re-run autopep8 with E401 enabledCampbell Barton
Put imports on their own line which was almost always the case already.
2022-04-21Cleanup: run autopep8 on release/scripts/presetsCampbell Barton
2022-04-21Cleanup: use autopep8 on release/ltsCampbell Barton
2022-04-21Cleanup: run autopep8 on release/scripts/freestyleCampbell Barton
2022-04-21Cleanup: run autopep8 on intern/cycles/Campbell Barton
Disable autopep8 for the block that yields passes in list_render_passes, for better readability.
2022-04-21Cleanup: run autopep8 with max-line-length=120 (missed a file)Campbell Barton
2022-04-21Cleanup: run autopep8 with max-line-length=120Campbell Barton
2022-04-21Cleanup: use autopep8 for bl_i18n_utils.settingsCampbell Barton
Disable autopep8 for some regex blocks that use indentation to signify regex grouping.
2022-04-21Cleanup: run autopep8 on release/scripts/modules/Campbell Barton
2022-04-21Cleanup: run autopep8 on release/scripts/templates_pyCampbell Barton
2022-04-21Cleanup: run autopep8 on doc/Campbell Barton
2022-04-21Cleanup: run autopep8 on build_files/Campbell Barton
Replace multiple hashes with over-lines for make_source_archive.py.
2022-04-21PyAPI: improve deprecation warning for bpy.ops context overrideCampbell Barton
- Increase the stack level so the reported line number references script authors code (not Blender's wrapper function). - Include the operator name and poll/call usage in the warning.
2022-04-21Fix crash passing no arguments to Context.temp_overrideCampbell Barton
2022-04-21Docs: update examples to use Context.temp_overrideCampbell Barton