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
2021-04-30Cleanup: rename BKE_pose_channel_{verify => ensure}Campbell Barton
The term `verify` doesn't fit with what this function does and is sometimes used to check data is valid or to control validity checking as with `RNA_define_verify_sdna`. use more common term `ensure`.
2021-04-30Cleanup: rename BKE_pose_channels_hash_{make => ensure}Campbell Barton
Use the term `ensure` since it makes it clear the data is not manipulated if it already exists.
2021-04-30Cleanup: use early return in edittranslation_execCampbell Barton
2021-04-30Cleanup: use const variablesCampbell Barton
2021-04-30Cleanup: avoid ambiguous parenthesisCampbell Barton
2021-04-30Cleanup: duplicate breakCampbell Barton
2021-04-30Cleanup: use 'else if'Campbell Barton
2021-04-30Cleanup: remove redundant assignments & NULL pointer checkCampbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-30Fix potential buffer overrun in drw_shader_dependencies_getCampbell Barton
Logical error let this function to write one past the buffer bounds.
2021-04-30Nodes: Add a callback to check for valid socket typeWannes Malfait
This adds a callback to bNodeTreeType to check which socket types are valid for the tree type. Function has been implemented for the normal tree types, and can be implemented for custom node trees with python, by adding a `classmethod` to the tree. However, only builtin socket types are supported. This is relevant for T87049, but it also has the advantage that it is now clear which node trees support which sockets. Previously this was assumed to be known by all developers. Differential Revision: https://developer.blender.org/D10938
2021-04-30Fix missing NULL check in grease-pencil clear strokesCampbell Barton
2021-04-30Fix sculpt mask operator crash running without a 3D viewCampbell Barton
Add missing operator poll, depend on the 3D view for all sculpt paint/mask operators.
2021-04-30Fix crash running window operators in background modeCampbell Barton
2021-04-30Geometry Nodes: Add a template utility to mix two attribute valuesHans Goudey
This is just linear interpolation, but it's nice to have an equivalent to `mix3` for only two values. It will be used for interpolation of values between bezier spline control points.
2021-04-30Fix uninitialized memory use in GLDrawListCampbell Barton
GLDrawList::init() used MDI_INDEXED which checks base_index_.
2021-04-30Cleanup: Mismatched array bounds in function declarationHans Goudey
2021-04-30Fix uninitialized local-view flag on object creationCampbell Barton
Local view return argument to ED_object_add_generic_get_opts was left uninitialized.
2021-04-30Cleanup: quiet shadow variable warningCampbell Barton
2021-04-29Cleanup: Remove unecessary variableHans Goudey
The value of this variable was incremented, but never used.
2021-04-29Fix: crash when creating GPU texture from image failsBrecht Van Lommel
2021-04-29GPencil: Add "Convert Text to Gpencil"Antonio Vazquez
Currently when you try to convert a Text-object to Grease pencil from the Object-menu or via the operator in some other way, the Text-object is only converted to a Curve. This commit converts that curve to a Grease pencil object. Differential Revision: https://developer.blender.org/D11117
2021-04-29Cleanup: Reduce indentation by returning earlyHans Goudey
2021-04-29Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-29Fix T86335: Knife tool fails on object with zero scaled axisCampbell Barton
Use invert_m4_m4_safe_ortho for the knife tool to support operating on objects with a single zero scaled axis.
2021-04-29Clean-up: Edit and commentsPratik Borhade
- Corrected spellings - Comments added and edited Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D10991
2021-04-29Fix T87297: Gpencil - Disable Frames and Start delay when use FactorAntonio Vazquez
After talking with the GP team, we agree in disable these options when the factor is used in Build modifier.
2021-04-29Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-29Fix T86799: Boolean crashes duplicating object with "Fast" solverCampbell Barton
BMesh intersect could leave invalid items in the selection list, causing a crash. The list is now cleared since boolean is such a destructive operation, it's unlikely the selection order would be useful. Thanks to @lukastoenne for finding the root cause.
2021-04-29GPencil: glow fx, add threshold value color modeFalk David
This patch adds a threshold value to the glow effect in color mode. Currently, the threshold is hardcoded to 5%. You can select a color and specify a higher threshold to include similar colors in the effect. Note: depends on D10670 Reviewed By: #grease_pencil, pepeland Differential Revision: https://developer.blender.org/D10672
2021-04-29Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-29Fix T87779: Asymmetric position vertices in circles primitives.Campbell Barton
Incrementing a floating point value in a loop resulted in the vertex locations for circles in primitives being slightly asymmetric.
2021-04-29Cleanup: Use BLI_findindex instead of loopAntonio Vazquez
2021-04-29Merge branch 'blender-v2.93-release'Brecht Van Lommel
2021-04-29Fix macOS arm crash in scaling images with ffmpegBrecht Van Lommel
Ref T78710
2021-04-29Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-29Cleanup: Add float formatAntonio Vazquez
2021-04-29Gpencil Offset Modifier - Add randomize offset optionsCody Winchester
This patch adds the Randomize options that exist in the Array modifier to the offset modifier. Currently the patch uses ``` BLI_findindex(&gpf->strokes, gps); ``` to get the index of the current stroke for making each stroke a different seed value. This is how the noise modifier also gets the stroke seed value and it is noted there as well that this method is slow, and should be fixed in the future with another method of getting the stroke index. Other methods were explored such as using the total number of points of the stroke, but that makes the randomize options incompatible with other modifiers before it such as Multiple Strokes, Array, Build, and Simplify. {F9591325} Differential Revision: https://developer.blender.org/D10171
2021-04-29Fix T87808: Connected proportional editing includes hidden geometryCampbell Barton
Regression in 21b9231d7f5a248027c32dcc7daab3318390c20f
2021-04-29Function: add method to create shallow copy of virtual arrayJacques Lucke
Creating a shallow copy is sometimes useful to get a unique ptr for a virtual array when one only has a reference. It shouldn't be used usually, but sometimes its the fastest way to do correct ownership handling.
2021-04-29Correction to own previous commit: Add missing breakJulian Eisel
Small mistake in 88400f0c03a9. Not having this break would be harmless, but we can avoid some unnecessary work with it.
2021-04-29Fix incorrect sorting in Asset Browser after renaming local assetJulian Eisel
When renaming a data-block that is an asset, while the asset is visible in the Asset Browser ("Current File" asset library), the list wouldn't re-sort items, breaking the alphabetical sorting. This was easily possible while changing the data-block name throught the Asset Browser's sidebar, while in the "Current File" asset library.
2021-04-29Functions: make copying virtual arrays to span more efficientJacques Lucke
Sometimes functions expect a span instead of a virtual array. If the virtual array is a span internally already, great. But if it is not (e.g. the position attribute on a mesh), the elements have to be copied over to a span. This patch makes the copying process more efficient by giving the compiler more opportunity for optimization.