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-08-01Fix T99502: OBJ/MTL import: behavior changed for missing texture filesAras Pranckevicius
Python based OBJ importer, as well as glTF2 importer, are creating "placeholder" images for texture images that can't be found. These are empty textures (displayed as magenta), but with their file paths set so that File > External Data > Report Missing Files can report them as missing. Make the new C++ OBJ importer do the same as well. Fixes T99502.
2022-08-01Fix T100040: Crash when transform applied on multi-user imagePratik Borhade
Affected by rB8621fdb10dc4 Crash if single-user data is created when we apply transform on multi-user image data. Crash occurs because creation of new copy was not handled in `single_obdata_users` for empty objects (image for example) Reviewed By: dfelinto, mont29 Maniphest Tasks: T100040 Differential Revision: https://developer.blender.org/D15587
2022-08-01Fix T99820: missing 'no more mising' tagging on reloaded libraries.Bastien Montagne
Can be also backported to 2.93LTS.
2022-08-01GPU: Fix failing compute tests.Jeroen Bakker
Tests created GPUTextures with incorrect mipmaps.
2022-08-01Eevee: Add support of rendering curves with cryptomatte.Jeroen Bakker
There were 2 errors. 1. hair code was used to draw curves 2. vertex shader wasn't aware of curves and failed to compile.
2022-08-01Eevee: Fix compilation error in eevee-next.Jeroen Bakker
Although eevee-next is disabled in Blender 3.3 there is an error that is visible when compiling shaders using the shader builder. This is because of an error in a preprocessing directive (defined should be define).
2022-08-01tweaks & fixes to UI messages.Bastien Montagne
2022-08-01I18n: make presets translatableDamien Picard
Presets are used all over the Blender UI, but were so far untranslatable. This adds the translation code as well as a new `dump_preset_messages()` function in the message extraction. This goes over all bundled preset file names and extracts them. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15570
2022-08-01I18n: make newly added constraints' names translatable.Damien Picard
This is the same principle as D15418 and D15532, but this time it's only really needed for "IK". Nevertheless it's probably good to add them anyway in case they get renamed and don't share a translation with other messages somewhere else in the code, for instance if it is decided that new constraint names shouldn’t include spaces, like other data do. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15571
2022-08-01I18n: make Grease Pencil modifiers and shader FX translatable.Damien Picard
Pretty much like D15418: add `N_()` macro around names for Grease Pencil modifiers and shader FX. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15532
2022-08-01Cycles: Resolve recent performance regression in oneAPI implementation for ↵Nikita Sirgienko
Intel® Arc™ GPUs Recently, performance with oneAPI have regressed due some recent changes in Blender itself. This commit's changes is resolving this and also improve compilation time for oneAPI backend first execution (or Blender compilation time in case of AoT). Regression have appeared after 5152c7c152e and not related to the changes itself, but increase of kernels complexity introduced with it. Changes in this commit is marking some Blender functions as noinlined for oneAPI backend, which helps GPU compiler to deal with this complexity without any negative side-effects on performance.
2022-08-01Fix T100076: OBJ import: new importer doesn't use //relative/image/pathsAras Pranckevicius
The Python based importer had logic to immediately turn image paths into relative-to-blender-file paths, if user preference for relative paths is used (which is on by default). The new importer code did not have that. Fixes T100076.
2022-07-31Fix T100075: OBJ import: images loaded multiple times instead of being reusedAras Pranckevicius
The new OBJ/MTL importer was creating a new image for any referenced texture, even if another material (or another property of the same material) already referenced the same texture. Make it use BKE_image_load_exists function just like Collada or USD importers do. Fixes T100075. Extended test coverage to count imported images; without the fix import_cubes_with_textures_rel would have incorrectly created 5 images instead of 4.
2022-07-31Fix T100086: GPencil Bezier curve edit not updated after smoothingAntonio Vazquez
The stroke was recalculated, but the curve data was not updated.
2022-07-30Fix 100035: Make UDIM detection less aggressiveJesse Yurkovich
There's been a handful of reports where "obviously" not a UDIM filenames were detected as such during image open.[1] This change makes the detection less aggressive by enforcing that the 4-digit sequence be delineated on both sides by one of the following 3 characters ., -, _ This fixes the problem for such filenames as: "screenshot-1080p.png", "Image-1920x1080.png", "(1999) Photo.png", and "antiguaChestnut_X_1240Wx814H.png" [1] T97366 T98918 T99154 T100035 Differential Revision: https://developer.blender.org/D15573
2022-07-29Build: hide all symbols except a few required ones on LinuxBrecht Van Lommel
Instead of specifying which symbols to hide, we hide all and make a few visible. Some users may be relying on calling internal Blender functions, but Windows is already hiding all of them and this is just not supported. Fixes T99900: crash with some third-party Python libraries since OneAPI Ref T76442 Differential Revision: https://developer.blender.org/D14971
2022-07-29install_deps: Add handling of libaom, update ffmpeg build for it.Bastien Montagne
Ref T98555.
2022-07-29install_deps: bump IMath/OpenEXR to 3.1.5.Bastien Montagne
Ref T98555.
2022-07-29install_deps: add building of Alembic binaries.Bastien Montagne
Those are used by alembic regression tests.
2022-07-29Fix Cycles build error with CUDA on arm64Tianhao Chai
Checking arm64 assembly support before CUDA/Metal would cause NVCC to generate inline arm64 assembly. Differential Revision: https://developer.blender.org/D15569
2022-07-29Fix (unreported) lib-linking of ID properties not taking library parameter.Bastien Montagne
While this was not a critical issue (that lib pointer is only used for some kind of sanity check that no linked data uses local ID pointers), better to keep `IDP_BlendReadLib` in sync with all other lib-linking code.
2022-07-29Fix T99761: Curves sculpt mode crash with empty curvesHans Goudey
The virtual arrays may be null if the curves are empty, it's simple to just skip the domain interpolation completely.
2022-07-29Fix: Grammar mistake in info messageHans Goudey
2022-07-28Revert "Fix T98773: GPU Subdivision breaks auto selection in UV edit mode"Brecht Van Lommel
This reverts commit e2c02655c78b2c669468ae568ddf4b17953cc98d. It was already reverted in the 3.2 branch, as it caused more serious issues than it solved. Fixes T99805, T99323, T99296.
2022-07-28ID namemap: fix missing removal of old name in do_versions_rename_idAras Pranckevicius
Was causing an assert that the old name exists in the name map, but is not present in the actual database. Reported in #blender-coders
2022-07-28PyDoc: fix 2D builtin shaders documentationGermano Cavalcante
2D shaders require the `vec2` attribute for "pos" (not `vec3`)
2022-07-28Cleanup/refactor: Readfile: Add dedicated function to insert ID pointers in ↵Bastien Montagne
libmap. New `oldnewmap_lib_insert` does nothing special, it just wraps around existing `oldnewmap_insert`, but it's the logical counter part of `oldnewmap_liblookup`. It also helps tremendously when debuging complex ID pointers issues in readfile.c code.
2022-07-28Fix (studio-reported) crash in some rare cases in blendfile read code.Bastien Montagne
Crash would happen when a linked ID would become missing, that was 'pre-declared' and used only once as a 'weak link' in another library stored before the one it came from. In that case, the place-holder generated in read code would be freed in `read_library_clear_weak_links`, when handling its 'owner' library, but since all previous libraries in the list had already been 'lib_linked' and their filedata (and related libmap) freed, the update of the libmaps in `read_library_clear_weak_links` would not apply to data from those previous libraries, leading to ID pointers there pointing to freed memory. This fix should also be backported to 2.93.
2022-07-28Fix T100017: OBJ: new importer does not import vertices that aren't part of ↵Aras Pranckevicius
any face The Python based importer had a special case handling of "no faces in the whole file at all", where it ended up treating the whole file as essentially a point-cloud-like object (just loose vertices, no faces or edges). The new importer code was missing this special case. Fixes T100017. Added gtest coverage that was failing without the fix.
2022-07-28Curves: enable density brush when first entering curves sculpt modeJacques Lucke
Previously, no tool was selected, which was a bug.
2022-07-28Curves: improve handling of empty surface meshesJacques Lucke
2022-07-28BLI_math: improve symmetrical values from sin_cos_from_fractionCampbell Barton
When plotting equally distant points around a circle support an extra axis of symmetry so twice as many exact values are repeated than originally added in [0], see code-comments for a detailed explanation. Tests to ensure accuracy and exact symmetry have been added too. Follow up on fix for T87779. [0]: 087f27a52f7857887e90754d87a7a73715ebc3fb
2022-07-27Cycles: switch Cycles triangle barycentric convention to match Embree/OptiXBrecht Van Lommel
Simplifies intersection code a little and slightly improves precision regarding self intersection. The parametric texture coordinate in shader nodes is still the same as before for compatibility.
2022-07-27Cleanup: remove unnecessary bvh_instance_motion_popBrecht Van Lommel
2022-07-27Fix broken BVH2 on CPU after recent changesBrecht Van Lommel
Runtime switching between Embree and BVH2 got lost.
2022-07-27Fix: curves edit hints not propagated in Join Geometry nodeJacques Lucke
Found while investigating why crazy-space editing didn't work in T100026.
2022-07-27Fix T100026: crash with zero-sized attributesJacques Lucke
The problem was that zero-sized and non-existant attributes were handled the same in some parts of the attribute API, which led to unexpected behavior. The solution is to properly differentiate the case when an attribute does not exist and when it is just empty (because the geometry is empty). Differential Revision: https://developer.blender.org/D15557
2022-07-27Fix: missing evaluated offsets in Resample Curve nodeJacques Lucke
Differential Revision: https://developer.blender.org/D15556
2022-07-27Fix: add missing returnJacques Lucke
It was correct but less efficient without this early return.
2022-07-27Blender 3.3 splashscreenThomas Dinges
Credits: Piotr Krynski
2022-07-27Fix build include for rna_curves.cThomas Dinges
* Since curves are no longer experimental, this should be included at any time.
2022-07-27Blender 3.3 - BetaThomas Dinges
* BLENDER_VERSION_CYCLE set to beta * Update pipeline_config.yaml to point to 3.2 branches and svn tags * Update and uncomment BLENDER_VERSION in download.cmake
2022-07-27Blender 3.3: Finalizing version bump.Thomas Dinges
2022-07-27Fix wrong fileversion usage in own recent rB9ac81ed6abfb.Bastien Montagne
2022-07-27Geometry Nodes: Rename "Field on Domain" to "Interpolate Domain"Hans Goudey
This name doesn't require understanding of fields, and is phrased as an action which is consistent with other nodes. Discussed in the latest geometry nodes sub-module meeting.
2022-07-27Geometry Nodes: Shortest Paths nodesErik Abrahamsson
This adds three new nodes: * `Shortest Edge Paths`: Actually finds the shortest paths. * `Edge Paths to Curves`: Converts the paths to separate curves. This may generate a quadratic amount of data, making it slow for large meshes. * `Edge Paths to Selection`: Generates an edge selection that contains all edges that are part of a path. This can be used with the Separate Geometry node to only keep the edges that are part of a path. For large meshes, this approach can be much faster than the `Edge Paths to Curves` node, because less data is created. Differential Revision: https://developer.blender.org/D15274
2022-07-27Fix corrupted blend files after issues from new name_map code.Bastien Montagne
Add a version of #BKE_main_namemap_validate that also fixes the issues, and call it in a do_version to fix recent .blend files saved after the regression introduced in rB7f8d05131a77. This is mandatory to fix some production files here at the studio, among other things.
2022-07-27Fix more issues with new name map and liboverrides.Bastien Montagne
Follow-up to rB13e17507c069, forgot to handle shapekeys...
2022-07-27ID namemap: Fix more issues when changing libs.Bastien Montagne
Fix tests, and some issue when making an ID local. There are probably a few more issues still though.
2022-07-27Fix T99870 : Prevents crash when rearranging channels in dopesheetAmelie Fondevilla
The function to rearrange channels only works for F-curves channels for now, adding the `FCURVESONLY` filter prevents the function to be called for grease pencil channels, thereby fixing the crash. Reviewed by : sybren Differential Revision: http://developer.blender.org/D15504