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-10-04Cleanup: replace UNUSED macro with commented args in C++ codeHans Goudey
This is the conventional way of dealing with unused arguments in C++, since it works on all compilers. Regex find and replace: `UNUSED\((\w+)\)` -> `/*$1*/`
2022-10-04Sculpt: Fix T101430: Blank stroke undo steps corrupt dyntopoJoseph Eagar
Blank brush strokes never have an oppurtunity to initialize a sculpt undo step, which results in blank global undo steps. These confuse DynTopo's internal BMLog undo stack. Note: I tried having the stroke operator return OPERATOR_CANCELLED, but this didn't prevent the undo push (which is done automatically due to the presence of OPTYPE_UNDO in the operator flags). I might investigate removing the flag, but that might cause other problems.
2022-10-04Sculpt: Add debug code to print sculpt undo stack.Joseph Eagar
2022-10-04Geometry Nodes: Add index input to Edge Vertices nodeHans Goudey
Previously the edge index was always determined by the field context, and the node didn't work when the context was in any other domain. Adding an index input makes it work much more nicely with the other topology nodes. It's now in the topology submenu too. I also reimplemented the edge positions input to use the field at index node internally. That will probably make it slower for now, but we need to optimize that to do nothing in some special cases anyway. Differential Revision: https://developer.blender.org/D16105
2022-10-04Fix: Incorrect field status in offset point in curve nodeHans Goudey
The input supports fields, the outputs are fields only if either of the inputs are fields. Also, .hide_value() is redundant for implicit fields.
2022-10-04Geometry Nodes: Rename Control Point Neighbors NodeHans Goudey
Rename the node to "Offset Point in Curve" Since this was committed, more mesh and curve topology nodes have been committed with a different naming scheme (482d431bb6735e82069). Change the name of this node to match "Offset Corner in Face". Because the node was only added recently, it's a full rename, including the ID, so forward compatibility is broken.
2022-10-04Geometry Nodes: Change order of outputs in topology nodesHans Goudey
It's a bit more natural if the "Total" output come second, and it's also consistent with the Accumulate Field node.
2022-10-03Geometry Nodes: Set Curve NormalJohnny Matthews
This node allows for curves to have their evaluated normal mode changed between MINIMUM_TWIST and Z_UP. A selection input allows for choosing which spline in the curves object will be affected. Differential Revision: D16118
2022-10-03Cycles: add option to bake specular from active camera viewpointPhoenix Katsch
Previously it would bake viewed from above the surface. The new option can be useful when the baked result is meant to be viewed from a fixed viewpoint or with limited camera motion. Some effort is made to give a continuous reflection on parts of the surface invisible to the camera, but this is necessarily only a rough approximation. Differential Revision: https://developer.blender.org/D15921
2022-10-03Cleanup: fix source comment/documentation typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D16071
2022-10-03Fix OpenEXR saving still outputting alpha when using RGB instead of RGBA modeBrecht Van Lommel
Contributed by linhsu0723. Differential Revision: https://developer.blender.org/D15979
2022-10-03Images: remove option to choose between BW/RGB/RGBA for multilayer EXR saveBrecht Van Lommel
This was not properly respected, and in general with multiple passes and layers it's unclear what this should do exactly without breaking some render passes. Better to keep this image format for raw unmodified render results.
2022-10-03Image: improve Save As Render tooltip, hide option when saving render resultBrecht Van Lommel
2022-10-03Cleanup: rename IMA_CHAN_FLAG_ALPHA to IMA_CHAN_FLAG_RGBA to match meaningBrecht Van Lommel
2022-10-03Fix: crash when linked geometry node group is missingJacques Lucke
2022-10-03Fix T101510: Incorrect context for running data unlink from template IDJulian Eisel
There was already a fix for this, but it got broken again with c973d333da31.
2022-10-03Cleanup: in Cycles force inline transform_inverse_implBrecht Van Lommel
We expect this to always happen. Ref T100891
2022-10-03Attribute Node: access geometry node instance attributes.Alexander Gavrilov
The Instancer mode of the node is intended for varying material behavior between instances. Since Geometry Nodes support arbitrary named instance attributes, this mode should include them in lookup. To implement this it is sufficient to store references to Geometry Node data in DupliObject, and check it during dupli attribute lookup. In order to reduce the memory usage of DupliObject, only 4 array entries are allocated, even though the current dupli recursion stack limit is 8. This assumes that not every entry would be associated with a GeometrySet instance. Hopefully, soon the whole system will be rewritten to remove the hard limits altogether. Differential Revision: https://developer.blender.org/D16114
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