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
path: root/source
AgeCommit message (Collapse)Author
2022-10-03Cleanup: remove unnecessary bracesJacques Lucke
2022-10-03Geometry Nodes: new Sample UV Surface nodeJacques Lucke
This node allows sampling an attribute on a mesh surface based on a UV coordinate. Internally, this has to do a "reverse uv lookup", i.e. the node has to find the polygon that corresponds to the uv coordinate. Therefore, the uv map of the mesh should not have overlapping faces. Differential Revision: https://developer.blender.org/D15440
2022-10-03Geometry Nodes: set viewer overlay opacity default to 1Jacques Lucke
This value worked better for artists.
2022-10-03Fix T101564: GPencil: Selecting imprecise if transforms are animatedAntonio Vazquez
The check was doing with the original point and must be the evaluated point.
2022-10-03Fix T101548: GPencil new lines in Multiframe editing appear as OnionAntonio Vazquez
The problem was the eval data update only occurs for the actual frame and in this case must be for all frames.
2022-10-03Fix T101487: New OBJ importer handles UVs incorrectly when some faces of an ↵Aras Pranckevicius
object don't have UVs The UV data filling logic was incorrectly just skipping over loop entries that don't have a UV coordinate, instead of assigning the default zero UV for them. This was a problem only for meshes where some faces did have UVs, but some other faces did not (T101487).
2022-10-03Cleanup: sort cmake file listsCampbell Barton
2022-10-03CMake: add missing headersCampbell Barton
2022-10-03Cleanup: add license headerCampbell Barton
2022-10-03DNA: reduce size of Base structCampbell Barton
Re-order members and remove pad members, reducing it's size by 24 bytes on 64 bit systems.
2022-10-03Cleanup: remove 2D region-relative coordinates from BaseCampbell Barton
Historically, caching these values may have had some advantages, simplifying drawing object centers and selecting by object center. Now the only uses of these values would calculate the projection before use, so there is no reason to store run-time projection in DNA. This also quiets a `-Wstring-overflow` warning.
2022-10-03Cleanup: spelling in commentsCampbell Barton
Also replace "dm" for evaluated mesh in some comments.
2022-10-03Cleanup: use function style casts for C++Campbell Barton
2022-10-03Cleanup: quiet undeclared function warningCampbell Barton
2022-10-02Cleanup: Move three modifier files to C++Hans Goudey
2022-10-02Fix: build issue with MSVCRay Molenkamp
Issue introduced by rB208b3a0472b3 which fixed a build issue on linux. This fix is a band-aid at best but reverting rB208b3a0472b3 is not really an option since that would break linux again.
2022-10-02GPUTexture: Add GPU_texture_create_single_layer_viewClément Foucault
This allows the creation of texture arrays from 1D/2D/Cube texture. This is useful when the shader expect a texture array but the original texture isn't.
2022-10-02Fix build error on Linux after font thumbnail changesBrecht Van Lommel
2022-10-02Cleanup: Rename function `gpencil_point_to_parent_space`Antonio Vazquez
gpencil_point_to_parent_space -> gpencil_point_to_world_space The old name was not clear because it looked it was moving into the object space, but really is doing the opposite.
2022-10-02Cleanup: Rename functionsAntonio Vazquez
gpencil_apply_parent->gpencil_world_to_object_space gpencil_apply_parent_point->gpencil_world_to_object_space_point The old name was not descriptive enough.
2022-10-02Cleanup: Move more files using mesh runtime data to C++Hans Goudey
In preparation for moving mesh runtime data out of DNA.
2022-10-02Fix: Mix node did not set clamp result correctly in versioning codeCharlie Jolly
Files were incorrectly loaded without the Clamp Result option set. Reported in BA by CarlG
2022-10-02GPU: Fix issue with GPU render boundaries being opened while a GPUBackend ↵Jason Fielder
does not exist. Fixes regression introduced by rBe8bcca4bdc94 (D15900) Ref T96261 Reviewed By: fclem Maniphest Tasks: T96261 Differential Revision: https://developer.blender.org/D16085
2022-10-01Fix T101504: Crash when repeat value is zeroPratik Borhade
Crash triggers due to division by zero fix is to increase minimum limit for `seg_repeat` to 1 Reviewed By: antoniov, frogstomp Maniphest Tasks: T101504 Differential Revision: https://developer.blender.org/D16120
2022-10-01Cleanup: simplify uv packing for non-square materialsChris Blackbourn
2022-10-01Sculpt: Fix T101467: Improper vertex count in pbvh drawJoseph Eagar
2022-10-01Sculpt: Fix sculpt face set undo creating duplicate face set layersJoseph Eagar
2022-10-01Sculpt: fix crash in relax face sets brushJoseph Eagar
2022-10-01Sculpt: Fix T101430: Dyntopo undo crashJoseph Eagar
2022-10-01Sculpt: Upload white for color attributes in multires in sculptJoseph Eagar
Even if multires in sculpt mode doesn't yet support color attributes, we should at least upload white color to avoid making everything black. Also fixed a bug where multires PBVHs didn't have access to their CustomData attribute layout, which PBVH draw needs.
2022-10-01Sculpt: Fix T101503: Memory corruption in multires faceset drawingJoseph Eagar
2022-10-01Sculpt: Fix T101430: Curve shown improperly in mask from cavity redoJoseph Eagar
2022-09-30Attribute Node: refactor lookup to remove duplication between engines.Alexander Gavrilov
Currently lookup of Object and Instancer attributes is completely duplicated between Cycles, Eevee and Eevee Next. This is bad design, so this patch aims to deduplicate it by introducing a common API in blenkernel. In case of Cycles this requires certain hacks, but according to Brecht it is planned to be rewritten later for more direct access to internal Blender data anyway. Differential Revision: https://developer.blender.org/D16117
2022-09-30Cleanup: Move draw_manager_data.cc to C++Hans Goudey
This will help with moving mesh runtime data to C++
2022-09-30Fix missing Outliner updates when adding nodetreesPhilipp Oeser
When e.g. grouping nodes into nodegroups, these would not show up immediately in the Outliner (Blender File / Data API view). Now send (unique combination, not used elsewhere) notifiers (and listen for these in the Outliner). Differential Revision: https://developer.blender.org/D16093
2022-09-30Fix T101347: Curve draw fails to project to cursor depth in ortho viewsCampbell Barton
ED_view3d_win_to_3d_on_plane with do_clip enabled wasn't working in non-camera orthographic views as it didn't take into account the ray origin being centered to the view. Resolve by testing viewport clipping after the ray has been projected.
2022-09-30Cleanup: quiet unused parameter warning in lambda functionPhilipp Oeser
Copy-paste error in rB039429faeb41.
2022-09-30Fix error in blf_get_sample_text returning a pointer to stack memoryCampbell Barton
Copy-by-value was used when iterating over unicode_samples which then referenced an array from the value. Resolve by referencing a const pointer to the unicode_sample array.
2022-09-30Cleanup: use function style casts for C++Campbell Barton
2022-09-30Cleanup: Move files that use mesh runtime data to C++Hans Goudey
In preparation for moving the mesh runtime struct out of DNA.
2022-09-30Cleanup: Move object_update.c to C++Hans Goudey
2022-09-30Cleanup: Move modifier.c to C++Hans Goudey
2022-09-30Fix T101118, T101471: Crash with bevel weight in solidify modifierHans Goudey
Just a missing null check for the original edge weight.
2022-09-29Sculpt: fix stroke-only attributes not being freed at stroke endJoseph Eagar
2022-09-29Sculpt: fix T101465, crash in cloth filter with new automasking modesJoseph Eagar
2022-09-29Sculpt: Fix T101464: Crash in mask from cavityJoseph Eagar
2022-09-29Sculpt: Fix T101463: Don't initialize automask to zero inJoseph Eagar
factor mode if topology or boundary modes are inactive Factors mode (precomputing the automask) should initialize the mask to 1.0 if no additive automasking modes are enabled, instead of zero.
2022-09-29Cleanup: Naming in edge vertices nodeHans Goudey
- Use `enum class` - Use shorter names for field input classes for better line wrapping - Use "Vert" instead of "Vertex"
2022-09-29Fix: Viewer node overlay alpha broken on NVidia GPUsHans Goudey
On NVidia GPUs, when the blue channel was between 0 and 0.1, the overlay's alpha would increase, making it invisible. With the `overlay_line_fb` frame buffer bound in `overlay_engine.cc` there are two outputs to write to: the color and the line output, which is used for making smooth antialiased lines. The overlay is in its current position in the order of overlays so that it draws on top of curve wire lines. Not writing to that second output is undefined behavior, so fix it by writing zeros. In the future, the overlay could be smoothed on curves using that second texture. Thanks to Clément for the explanation of the issue!
2022-09-29Cleanup: Simplify code and remove duplicationsAntonio Vazquez
This commit simplify the previous fix for T101455 f6c2f1c65e146bf20b9182f275b67c747d9e2990