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
2020-06-10LibOverride: Fix issues related to ID name differences.Bastien Montagne
Local datablocks (including overrides) need to have a unique name, which can then differ from the reference linked one (especially when there are several local overrides of a same linked data). Issue is, ID name is a 'rna name property', and as such used as reference when dealing with override of collections of IDs, so we cannot have a changing name. The solution implemented here should work and is simple, but it may have some issues in corner cases (time will say), it is not really robust. Alternative solution would be to store ID pointers as reference in override operations, instead of there name. But that would potentially add quiet a lot of overhead to foreach looping in `lib_query.c`.
2020-06-10Fix T77632: Deform modifier auto-binding not workingCampbell Barton
Regression in deaff945d0b96
2020-06-10Mesh: utility functions to access wrapped mesh coordinatesCampbell Barton
2020-06-10Fix T77195: Crash with edit-mesh viewport measurements enabledCampbell Barton
Simplify looping over faces & tessellation data. Regression in 6526c3ced8b5, the index accessed wasn't valid.
2020-06-10Cleanup: Move each special_aftertrans_update to their respective TransData fileGermano Cavalcante
2020-06-09Cycles: Fix uniform cone samplingLukas Stockner
This code is currently only used for the Glossy Toon BSDF, but it's a generic building block that might be used for other things in the future. To see why the current code does not give a uniform distribution, consider that it chooses both angles uniformly, but the smaller the angle from the center of the cone is, the smaller the differential solid angle is (similar to how sampling disks by choosing radius and phi uniformly does not work). Differential Revision: https://developer.blender.org/D7948
2020-06-09UI: Remove extra separator in some casesHans Goudey
2020-06-09Fix missing animation decorators for pointer buttonsJulian Eisel
Also, remove manually placed decorator for vertex groups in modifiers. This was only needed because of this bug, and the layout was slightly misaligned.
2020-06-09UI: Set modifier panel expansion on every redrawHans Goudey
This will fix situations where the modifier epansion was set elsewhere besides the UI, like from the python console, solving the drawing part of T77502. Also adds update tags to the show_expanded property, which means the properties window redraws when the property changes.
2020-06-09Sculpt: Face Set Edit OperatorPablo Dobarro
This operator performs an edit operation in the active face set defined by the cursor position and updates the visibility. For now, it has a Grow and Shrink operations, similar to Select More/Less in edit mode or to the mask filter Grow/Shrink modes. More operations can be added in the future. In multires, this updates the visibility of an entire face from the base mesh at once, which makes it very convenient to edit the visible area without manipulating the face set directly. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7367
2020-06-09Sculpt: Pose Squash and Stretch deform modePablo Dobarro
This implements squash and stretch as a deform mode for the Pose Brush. It is similar to scale, but it applies different scale values in different axis. To achieve this, the pivot local space of the transform needs to be aligned to the segment when using this deform mode to apply the scale in the correct direction. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7934
2020-06-09Voxel Size Edit: Fix text not readable when zooming in the viewportPablo Dobarro
Previously the scale of the text was using object space, so when working with scaled objects or small meshes the size of the text was wrong. Now it calculates a scale in screen space, so the text size should be much more predictable Reviewed By: sergey, Severin Differential Revision: https://developer.blender.org/D7941
2020-06-09Fix Edit Voxel Size label in previewPablo Dobarro
The format string was wrong so it was rendering an extra % character Reviewed By: sergey Differential Revision: https://developer.blender.org/D7942
2020-06-09UI: Avoid rebuilding Outliner tree on simple button interactionsJulian Eisel
E.g. simply on button hover changes, the tree would be needlessly rebuilt. I wouldn't be surprised if this causes side-effects, for some state changes we may still have to do a full rebuild.
2020-06-09Fix T77504: Operator search gives wrong resultsCampbell Barton
Regression in e8ab0137f8766
2020-06-09Nodes: efficient node tree queries and inliningJacques Lucke
This adds two data structures that wrap a node tree. However, they work on different abstraction levels. `NodeTreeRef` is an immutable structure that makes working with a node tree in C++ much more efficient and convenient. It supports various queries efficiently, that are not easily possible using just `bNodeTree`. `DerivedNodeTree` builds on top of `NodeTreeRef`. It contains a flattened view on the node tree, i.e. with node groups being inlined. Every inlined node still knows its "call stack". It supports pretty much the same queries as `NodeTreeRef`. Both data structures come with a dot graph exporter for debugging purposes. Reviewers: brecht Differential Revision: https://developer.blender.org/D7628
2020-06-09Cleanup: Move pointcache dna to separate fileJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D7965
2020-06-09Cleanup: extract function for common function call sequenceJacques Lucke
2020-06-09Fix T76894: Disable clipping region selection in material/rendered modeJeroen Bakker
In this case the draw engine isn't responsible for the selection, but the editor is. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7955
2020-06-09Fix T76984: Normal node not drawing properly in compositorEvan Wilson
Differential Revision: https://developer.blender.org/D7827
2020-06-09Cleanup: correct enum names in commentsJacques Lucke
2020-06-09BLI: remove incorrect constJacques Lucke
2020-06-09GPencil: Keep original stroke when reprojectAntonio Vazquez
When reproject a stroke sometimes is good to keep the copy of the original stroke to create volume effects Related to T77639 {F8603513} Reviewed By: mendio, pepeland Maniphest Tasks: T77639 Differential Revision: https://developer.blender.org/D7963 50258
2020-06-09Fix T72936: Incorrect gizmo orientation with inherit rotation disabledCampbell Barton
2020-06-09Fix T77448: Camera Solver constraint can't be converted to f-curveSergey Sharybin
A regression caused by c57f65c088a9 as a fix of another issue. Added an exception for camera solver as that is always pointing to camera object. Since this is a regression which happened in 2.83.0 this change is a candidate to be ported to the 2.83.1.
2020-06-09Cleanup: Silence some overflow warnings in transform codeGermano Cavalcante
2020-06-09Transform: Fixes after recent refactorSergey Sharybin
Pointed by strict compiler warnings, but some of the reports were actually a real bugs: - Access uninitialized memory of td_mirror_iter. Assuming that iterator is to point to the first element of the data array. - Lattice's recalc data was never called. There is also a fix for redundant declaration of recalcData() and missing declaration of recalcData_lattice().
2020-06-09Cleanup: move hashing of OperationIDKey to member functionJacques Lucke
2020-06-09BLI: rename ArrayRef to SpanJacques Lucke
This also renames `MutableArrayRef` to `MutableSpan`. The name "Span" works better, because `std::span` will provide similar functionality in C++20. Furthermore, a shorter, more concise name for a common data structure is nice.
2020-06-09Fix menu operator/search clipping the last characterCampbell Barton
Noted in T77504
2020-06-09GPencil: Cleanup doxygen commentsAntonio Vazquez
2020-06-09Fix warning-as-error about int to uint conversion in new BLI CPP code.Bastien Montagne
Was breaking build for me here...
2020-06-09GPencil: Improve viewlayer masking checkAntonio Vazquez
Check if the mask layer is used in a layer that is going to be used in the current viewlayer. Related to T77667
2020-06-09Workbench: Fix missing NULL pointer checkClément Foucault
2020-06-09BLI: put C++ data structures in "blender" namespace instead of "BLI"Jacques Lucke
We plan to use the "blender" namespace in other modules as well.
2020-06-09BLI: generally improve C++ data structuresJacques Lucke
The main focus here was to improve the docs significantly. Furthermore, I reimplemented `Set`, `Map` and `VectorSet`. They are now (usually) faster, simpler and more customizable. I also rewrote `Stack` to make it more efficient by avoiding unnecessary copies. Thanks to everyone who helped with constructive feedback. Approved by brecht and sybren. Differential Revision: https://developer.blender.org/D7931
2020-06-09Cleanup: remove debug prints in py.ops.nla.bake()Campbell Barton
2020-06-09Fix mistake in recent fix for text editor overflowCampbell Barton
2020-06-09Sequencer: restore behavior removed from recent refactorCampbell Barton
2020-06-09Fix T77148: Crash changing multiple values for sequencer stripsCampbell Barton
This was caused by assuming all strips were the same type.
2020-06-09Docs: comment text scale behaviorCampbell Barton
Avoid misunderstanding that caused T77609.
2020-06-09Fix T77609: Scale to Fit Text Box fails when text is too narrowDalai Felinto
Caused by error in fix for T75965 (83d9ba341e5a).
2020-06-09Cleanup: avoid addition with large strings in PythonCampbell Barton
This is known to be inefficient, use a second write call instead.
2020-06-08Cycles: Add support for P2P memory distribution (e.g. via NVLink)Patrick Mours
This change modifies the multi-device implementation to support memory distribution across devices, to reduce the overall memory footprint of large scenes and allow scenes to fit entirely into combined GPU memory that previously had to fall back to host memory. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7426
2020-06-08Functions: Run-time type system and index maskJacques Lucke
This adds a new `CPPType` that encapsulates information about how to handle instances of a specific data type. This is necessary for the function evaluation system, which will be used to evaluate most of the particle node trees. Furthermore, this adds an `IndexMask` class which offers a surprisingly useful abstraction over an array containing unsigned integers. It makes two assumptions about the underlying integer array: * The integers are in ascending order. * There are no duplicates. `IndexMask` will be used to "select" certain particles that will be processed in a data-oriented way. Sometimes, operations don't have to be applied to all particles, but only some, those that are in the indexed by the `IndexMask`. The two limitations imposed by an `IndexMask` allow for better performance. Reviewers: brecht Differential Revision: https://developer.blender.org/D7957
2020-06-08Fix T77603: OSL parser fails when script ends with comment without newlineJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D7958
2020-06-08Simulations: initial simulation state and cacheJacques Lucke
The current particle state is stored in a `CustomData` instance and the cache is stored in `PointCache`. The current state exists on the copy-on-write copies of the simulation, while the cache only exists in the original data block. This patch implements a temporary trivial particle simulation that does not use the node system yet. It is used for testing and will be replaced soon. `PointCache` still has some limitations that need to be overcome using separate refactorings. For example, we need to be able to store the number of particles in the point cache. Also we need to change which attributes are stored for a particle system more dynamically than is currently possible afaik. Reviewers: brecht Differential Revision: https://developer.blender.org/D7836
2020-06-08Fix crash running "Edit Voxel Size" operator outside of a main 3D View regionJulian Eisel
Accessed `RegionView3D` data from context, which of course would only be set if actually executed from a main 3D View region.
2020-06-08Installdeps: better handling of python versions.Bastien Montagne
now that we stick to some outdated py version, some distro (like current debian testing) will feature several python3 dev package, but other dependant libs like numpy are only built against current default version of python (3.8 now in deb testing)... In order to be able to use distro packages we need to allow using higher versions of python, and set relevant CMake option accordingly.
2020-06-08Fix T70873: Pivot Center doesn't compute mirror elementsGermano Cavalcante