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-02-25CMake: exclude add-ons that don't confirm to key requirementsCampbell Barton
These add-ons don't have documentation on blender.org, see: T95442 These can be re-enabled once documentation has been relocated.
2022-02-25Merge branch 'blender-v3.1-release'Bastien Montagne
2022-02-25Fix T95636: Dragging Material from Asset Browser (Link mode) to Viewport ↵Bastien Montagne
empty space removes this material from all objects Trust user count to actually delete or not the dragged ID when current dragging is cancelled, since it may be already used by others. NOTE: This is more a band-aid fix than anything else, cancelling drag has a lot of other issues here (like never deleting any indirectly linked/appended data, etc.). It needs a proper rethink in general.
2022-02-25Cleanup: Modify commentAntonio Vazquez
2022-02-25Merge branch 'blender-v3.1-release'Antonio Vazquez
2022-02-25GPencil: Make Fill Dilate expand outside strokeAntonio Vazquez
To keep consistency with the new contract option, the dilate now expand the shape beyond the internal closed area. Note: This was committed only in master (3.2) by error.
2022-02-25GPencil: Fill Dilate using negative values contract the fill areaAntonio Vazquez
This is requested by artist for some animation styles where is necessary to fill the area, but create a gap between fill and stroke. Also some code cleanup and fix a bug in dilate for top area. Reviewed By: pepeland, mendio Differential Revision: https://developer.blender.org/D14082 Note: This was committed only in master (3.2) by error.
2022-02-25Cleanup: use flags for wmEvent modifier keysCampbell Barton
Using flags makes checking multiple modifiers at once more convenient and avoids macros/functions such as IS_EVENT_MOD & WM_event_modifier_flag which have been removed. It also simplifies checking if modifier keys have changed.
2022-02-25Fix T95984: Use consistent shifting for persp and ortho cam.YimingWu
Now always properly shifting camera for ortho and perspective.
2022-02-25Fix T95984: Use consistent shifting for persp and ortho cam.YimingWu
Now always properly shifting camera for ortho and perspective.
2022-02-25GPUTexture: Add support for texture viewClément Foucault
This is an OpenGL 4.3 feature that enables creating a texture using a range of the same data as another texture.
2022-02-25GPUTexture: Use immutable storageClément Foucault
This means textures need to have the number of mipmap levels specified upfront. It does not mean the data is immutable. There is fallback code for OpenGL < 4.2. Immutable storage will enables texture views in the future.
2022-02-24Cleanup: Simplify operating on multiple geometry componentsHans Goudey
2022-02-24Cleanup: Sort include linesAntonio Vazquez
2022-02-24Nodes: Add include to avoid Windows compiler errorAntonio Vazquez
This line was added as request of @HooglyBoogly
2022-02-24Merge branch 'blender-v3.1-release'Brecht Van Lommel
2022-02-24Fix compiler error in WindowsAntonio Vazquez
In some compilers this file fails because the function `BKE_mesh_poly_normals_ensure`is not defined.
2022-02-24Fix T95969, T91856: bake AO to vertex color artifacts after ray offset removalBrecht Van Lommel
Without ray offsets intersections at neigbhoring triangles are found, as the ray start is exactly at the vertex. There was a small offset towards the center of the triangle, but not enough. Now this offset computation is moved into Cycles and modified for better results. It's still not perfect though like any offset approach, especially with long thin triangles. Additionaly, this uses the shadow terminate offset for AO rays now, which helps remove some pre-existing artifacts.
2022-02-24Curves: Use simpler "set" behavior for postion attributeHans Goudey
This is similar to f8fe0e831ec14cc521e03df, which made the change to the handle position attributes. This commit removes the way that setting the `position` attribute also changes the handle position attributes. Now, the "Set Position" node still has this behavior, but changing the attribute directly (with the modifier's output attributes) does not. The previous behavior was a relic of the geometry nodes design from before fields and the set position node existed. This makes the transition to the new curves data structure simpler. There is more room for optimizing the Bezier case of the set position node in the future.
2022-02-24Cleanup: Typo in commentHans Goudey
2022-02-24Merge branch 'blender-v3.1-release'Hans Goudey
2022-02-24Fix: Crash switching between sculpt and edit modeHans Goudey
Also fix a couple other places where normals layers weren't properly tagged dirty or reallocated when the mesh changes. Caused by cfa53e0fbeed7178. When the size of a mesh changes, the normal layers need to be reallocated. There were a couple of places that cleared other runtime data with `BKE_mesh_runtime_clear_geometry` but didn't deal with normals properly. Clearing the runtime "geometry" is different from clearing the normals, because sometimes the size of the normal layers doesn't have to change, in which case simply tagging them dirty is fine.
2022-02-24Merge branch 'blender-v3.1-release'Clément Foucault
2022-02-24EEVEE: Fix crash when shadow caster count is reduced to 0.Clément Foucault
The crash was catched by ASAN. It was caused by the buffer shrinking logic being faulty.
2022-02-24Fix incorrect Outliner tree-display type returnedJulian Eisel
Reverts 6d97fdc37eef. A function like this should not return a different tree-display object than of the requested type. This may hide errors, and leaves the Outliner in an undefined state (where the stored display mode doesn't match the tree-display object). I rather don't hide the fact that all display-modes should be handled here, and emit a clear error if one isn't.
2022-02-24GPU: Fix compilation in debug modeClément Foucault
Fixes issue introduced in rB1685b1dba44e02ce1faace4a5de6d6cd0d98ef90
2022-02-24OCIO: Fix mip length in texture creationClément Foucault
Also add an assert to avoid reproducing the error in the future.
2022-02-24BLI: support accessing nth last element in Array/Span/VectorJacques Lucke
This often helps to make the intend of code more clear compared to computing the index manually in the caller.
2022-02-24Merge remote-tracking branch 'origin/blender-v3.1-release'Kévin Dietrich
2022-02-24Fix T95976: on cage GPU subdivision breaks X-ray selectionKévin Dietrich
When X-ray mode is active the selection is done using the mesh data to select what is closest to the cursor. When GPU subdivision is active with the "show on cage" modifier option, this fails as the mesh used for selection is the unsubdivided one. This creates a subdivision wrapper before running the selection routines to ensure that subdivision is available on the CPU side as well. Differential Revision: https://developer.blender.org/D14188
2022-02-24Merge branch 'blender-v3.1-release'Jacques Lucke
2022-02-24Fix T95985: crash when assigning a name for an output attributeJacques Lucke
This was a double free error which happened because `BM_mesh_bm_from_me` was taking ownership of arrays that were still owned by the Mesh. Note that this only happens when the mesh is empty but some custom data layers still have a non-null data pointer. While usually the data pointer should be null in this case for performance reasons, other functions should still be able to handle this situation. Differential Revision: https://developer.blender.org/D14181
2022-02-24Fix wrong asset library displayed/loaded in asset view templatesJulian Eisel
Sometimes when switching asset libraries in the asset view templates (like the pose library sidebar UI), the wrong library would end up being shown.
2022-02-243D View: keep the orthographic view when rolling 90 degreesCampbell Barton
Support for maintaining orthographic view for view3d.view_roll for an angle of 90/-90 degrees.
2022-02-24Merge branch 'blender-v3.1-release'Campbell Barton
2022-02-24Fix 2D view NDOF panning requiring both axes to be non-zeroCampbell Barton
Possible fix for T86592.
2022-02-24Cleanup: code comments in vfont_to_curveCampbell Barton
2022-02-24Cleanup: remove dead code in vfont_to_curveCampbell Barton
Also replaces numbers with character literals for tab/space.
2022-02-24Merge remote-tracking branch 'origin/blender-v3.1-release'Kévin Dietrich
2022-02-24Cleanup: remove dead code from text wrapping logicCampbell Barton
Error from original commit in 2005, 97df61a7e5391e302d1a5f9069cf0b388f85e0c8.
2022-02-24Cleanup: use continue instead of goto for 3D text wrapping logicCampbell Barton
2022-02-24Fix T95959: crash when exporting subdivision to AlembicKévin Dietrich
When exporting generated coordinates, the subdivision export code was using the schema for the non-subdivision case, which is invalid as non-initialized. This typo existed since the initial commit for the feature (rBf9567f6c63e75feaf701fa7b78669b9a436f13dd).
2022-02-24Merge branch 'blender-v3.1-release'Campbell Barton
2022-02-24Fix T95116: Scale to fit fails with a single word & non-zero Y-sizeCampbell Barton
The scale-to-fit option did nothing for single words when the text box had a height. This happened because it was expected that text would be wrapped however single words never wrap. Now the same behavior for zero-height text boxes is used when text can't be wrapped onto multiple lines.
2022-02-23Curves: Use simpler "set" behavior for handle position attributesHans Goudey
The handle position attributes `handle_left` and `handle_right` had rather complex behavior to get expected behavior when aligned or auto/ vector handles were used. In order to simplify the attribtue API and make the transition to the new curves data structure simpler, this commit moves that behavior from the attribute to the "Set Handle Positions" node. When that node is used, the behavior should be the same as before. However, if the modifier's output attributes were used to set handle positions, the behavior may be different. That situation is expected to be very rare though.
2022-02-23Geometry Nodes: Face is Planar NodeJohnny Matthews
This adds a node with a boolean field output which returns true if all of the points of the evaluated face are on the same plane. A float field input allows for the threshold of the face/point comparison to be adjusted on a per face basis. One clear use case is to only triangulate faces that are not planar. Differential Revision: https://developer.blender.org/D13906
2022-02-23Fix: Build issue on windowsRay Molenkamp
tbb/enumerable_thread_specific.h drags in windows.h which will define min/max macro's unless you politely ask it not to. it's bit of an eyesore, but it is what it is
2022-02-23Fix for last commit: Define for Node numberingJohnny Matthews
2022-02-23Merge branch 'blender-v3.1-release'Hans Goudey
2022-02-23Fix T95952: Uninitialized value used in Bezier Segment nodeHans Goudey
0fd72a98ac1377a385b6 called functions to set bezier handle positions that used uninitialized memory. The fix is to define the handle positions explicitly, like before.