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
2021-05-12Cleanup: rename 'rt' to '_pad#' in DNA structsCampbell Barton
2021-05-12Cycles: fix inconsistent-missing-override warningsAnkit Meel
LLVM Clang 13, macOS. Reviewed By: brecht Differential Revision: https://developer.blender.org/D11207
2021-05-12Fix T87947: Trasnform: Keyboard input uses view orientationGermano Cavalcante
When activated in modal, `translate`, `resize`, `rotate`, `shear` and `edge_rotate_normal` use a different orientation than the set in scene. This orientation needed to match since some of these modes can be switched during operation. The default orientation for these modes was `V3D_ORIENT_VIEW`. And this changed when finishing the `translate` and `resize` to `V3D_ORIENT_GLOBAL`. But this could cause inconsistencies when inputting values from the keyboard. The solution now is to change the orientation when you change the mode. --- Note: Although the user can expect the value entered to reflect the orientation set in the scene, it would require a lot of changes and would not be really useful.
2021-05-12Cleanup: Use enum to indicate the current orientationGermano Cavalcante
Improves readability.
2021-05-12NLA: Extract ..get_inverted_upper_snapshot()Wayde Moss
Extracts `nlasnapshot_blend_get_inverted_upper_snapshot()` from `BKE_animsys_nla_remap_keyframe_values()` This introduces a new struct member: `NlaEvalChannelSnapshot->remap_domain` and marks which values of `blended_snapshot` are processed for remapping/used-for-inverting. Effectively, it marks which values have successfully been remapped and can be further used for remapping. `nlasnapshot_blend_get_inverted_upper_snapshot()`: output snapshot `r_upper_snapshot` has each channel's `remap_domain` written to which effectively marks the successfully remapped values. The only reason a value is not in the remap domain is if inversion failed or it wasn't marked to be remapped. `..get_inverted_upper_snapshot()` has a variant `nlasnapshot_blend()` from {D10220}, but this patch doesn't depend on it at all. A third variant will later be added `..get_inverted_lower_snapshot()`. Altogether, these three functions allow solving for any of (lower_snapshot, upper_snapshot, blended_snapshot) given the other two. The function `..get_inverted_lower_snapshot()` will also similarly process the remap domain of the blended and lower snapshot. added assertions within `nlasnapshot_blend()` and `..get_inverted_upper_snapshot()` to future proof branches dealing with blendmode and mixmodes. (suggested by sybren) No user functional changes Reviewed By: sybren Differential Revision: https://developer.blender.org/D10222
2021-05-12Geometry Nodes: Link error when implicit conversion isn't possibleWannes Malfait
This turns links red if no implicit conversion can be made between the from socket and the to socket. For geometry nodes this happens with object, geometry, collection, and string sockets that are connected to a different type. The change is simply implementing a callback that is already implemented for other node tree types. Differential Revision: https://developer.blender.org/D11229
2021-05-12Merge branch 'blender-v2.93-release'Pablo Dobarro
2021-05-12Fix wrong loop count in Sculpt Expand codePablo Dobarro
Introduced when refactoring the function in 8815e3e3303933e2cc662f15fc9d11ca68a47d16
2021-05-12Merge branch 'blender-v2.93-release'Brecht Van Lommel
2021-05-11Fix T72791: Cycles wrong results when mixing multiple random walk BSSRDFsChris Eveleigh
Take into account the closure sample weight for the throughput. Differential Revision: https://developer.blender.org/D10936
2021-05-11Fix T88093: persistent data and particle object instancing not workingBrecht Van Lommel
2021-05-11Cleanup: unused variable warningCharlie Jolly
2021-05-11Fix T88099: error with persistent data and motion blurBrecht Van Lommel
2021-05-11Geometry Nodes: Add Attribute Vector Rotate nodeCharlie Jolly
Port vector rotate node to geo attributes. Request by @simonthommes Reviewed By: simonthommes, HooglyBoogly
2021-05-11Rigging: Add transform for custom bone shapesYuki Shirakawa
Add translation/rotation/scale parameters for custom bones shapes. The new scale is a 3D vector `custom_shape_scale_xyz`, and replaces the `custom_shape_scale` float. Reviewed By: #animation_rigging, sybren, zeddb Differential Revision: https://developer.blender.org/D10974
2021-05-11Merge branch 'blender-v2.93-release'Antonio Vazquez
2021-05-11Fix T88160: GPencil Remove `B` key to create Blank Keyframe in Drawing modeAntonio Vazquez
Now, we have the new `I` menu for that. The `B`keymap was part of the old code.
2021-05-11Cleanup: unnecessary extra lines for doxy sectionsCampbell Barton
2021-05-11Cleanup: remove unused baking struct members from soft-bodyCampbell Barton
2021-05-11Cleanup: Sort node type definitions alphabeticallyHans Goudey
Previously we had a lot merge conflicts since we always put the most recently added node at the bottom. By sorting the list we will have one fewer merge conflict when a node is added in most cases.
2021-05-11Merge branch 'blender-v2.93-release'Campbell Barton
2021-05-11Cleanup: remove unused BPy_IDProperty struct memberCampbell Barton
2021-05-11Merge branch 'blender-v2.93-release'Campbell Barton
2021-05-11Fix T88190: Freed memory use when iterating over id-propertiesCampbell Barton
The id-property iterator referenced a PyObject pointer without increasing it's user count - allowing for errors if the value goes out of scope during iteration.
2021-05-11Merge branch 'blender-v2.93-release'Campbell Barton
2021-05-11Fix memory leak in Python IDproperty iteratorCampbell Barton
Looping over IDProperty keys or calling iteritems leaked memory. Error in original Python idproperty support from 8768707610fbc1cea2bde069cdfd6d3f3e2fc522
2021-05-11Cleanup: Reorder class variable declarationsHans Goudey
The order was arbitrary, and rearranging the declarations makes the class look less messy, and makes room for future comments.
2021-05-11Cleanup: Whitespace, add doxygen sectionsHans Goudey
The sections aren't helpful at the moment, but I will add more code here soon that will benefit more from the visual separation.
2021-05-11Cleanup: Use a helper function for repetitive codeHans Goudey
Retrieving data from the component can be done in a separate function to save some repetition.
2021-05-11Functions: Add materialize methods for generic mutable virtual arrayHans Goudey
Similar to how `GVArray_For_VArray` implements `materialize_impl` to forward the work to its non-generic virtual array, we can do the same thing for the mutable version, `GVMutableArray_For_VMutableArray`. This commit should have no visible changes, since as far as I can tell the only user of this class does not implement special materialize methods anyway.
2021-05-11Merge branch 'blender-v2.93-release'Pablo Dobarro
2021-05-11Fix T82155: Fade inactive geometry overlay not working with instanced geometryPablo Dobarro
This enables the overlay for instanced geometry. After this change, objects that are an instance of the current active object (which are also being modified in the current active mode) won't fade, which is different from the previous behavior. Reviewed By: fclem Maniphest Tasks: T82155 Differential Revision: https://developer.blender.org/D9362
2021-05-10Merge branch 'blender-v2.93-release'Pablo Dobarro
2021-05-10Fix T88060: Expand freezing when deleting a Face Set with multiple loose partsPablo Dobarro
When checking if the mesh has only one Face Set only the current active component for expand needs to be checked. Otherwhise other components that won't be modified by Expand that contain other IDs will be taken into account, making the Face Set deletion go into an infinite loop. Reviewed By: JacquesLucke Maniphest Tasks: T88060 Differential Revision: https://developer.blender.org/D11169
2021-05-10Fix T88180: Enable HQ normal workaround for RX 580X cards.Jeroen Bakker
This needs to be backported to 2.83.
2021-05-10GPencil: Remove `B` key to create Blank Keyframe in Drawing modeAntonio Vazquez
We have the `I` menu for that. This is part of the old code.
2021-05-10GPencil: Rename prop `dilate_pixels` to `dilate`Antonio Vazquez
Better avoid units in name.
2021-05-10Merge remote-tracking branch 'origin/blender-v2.93-release'Sybren A. Stüvel
2021-05-10Fix T54339: Shapekey Max value doesn't clamp existing valuePratik Borhade
Update the "current value" of the Shape Key blend amount when value is not within the min/max range. New function `rna_ShapeKey_update_minmax` used to update and clamp the current value. Reviewed By: mano-wii, lichtwerk, #animation_rigging, sybren Maniphest Tasks: T54339 Differential Revision: https://developer.blender.org/D11071
2021-05-10Merge branch 'blender-v2.93-release'Jeroen Bakker
2021-05-10Fix T87764: Mem-leak during viewport rendering.Jeroen Bakker
When a scene uses cryptomatte the viewport rendering would lead to a memory leak. The reason was that all image renders (viewport+final) activated cryptomatte. But is only used for final rendering. This patch only activates cryptomatte when doing final rendering.
2021-05-10Merge branch 'blender-v2.93-release'Alexander Gavrilov
2021-05-10Animation: move Cycle-Aware Keying to the Keying popover.Alexander Gavrilov
The Cycle-Aware Keying option was added in 2.8 and is used to allow keyframing over cyclic F-Curves without disturbing the cycle (e.g. overwriting an end keyframe updates both ends). This effect is not limited to auto keyframing and is applied to any key insertion, but when the popovers were rearranged it was put in the Auto-Keyframing related one for some reason. This is misleading, especially since because of that the option is incorrectly greyed out when auto keyframing is disabled, so move it to the generic Keyframing popover. Differential Revision: https://developer.blender.org/D11213
2021-05-10Fix warning on Apple Clang, missing override specifierSeverin
Was giving a warning: ``` BKE_spline.hh:293:35: warning: 'interpolate_to_evaluated_points' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] ```
2021-05-10Merge branch 'blender-v2.93-release'Philipp Oeser
2021-05-10Fix T88145: Dynamic Paint initial color using vertex color not working as ↵Philipp Oeser
expected Mistake in {rBe48c4d73d378}. Was using the vertex index as a lookup for the loop color (instead of the loop index). (Issue was not present in original D1429 btw). Maniphest Tasks: T88145 Differential Revision: https://developer.blender.org/D11212
2021-05-10Compositor: Add vars and methods for easier image loopingManuel Castilla
These variables and methods should make it easier to loop through buffers elements/pixels. They take into account single element buffers. Single element buffers can be used for set operations to reduce memory usage. Usage example: P2078 Reviewed By: #compositing, jbakker Differential Revision: https://developer.blender.org/D11015
2021-05-10Cleanup: too small loop variable typeJacques Lucke
Clang-Tidy: bugprone-too-small-loop-variable
2021-05-10Functions: support materialize virtual array to initialized spanJacques Lucke
2021-05-10Cleanup: spellingCampbell Barton