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
2020-07-01Cleanup: undeclared functions (make static)Campbell Barton
2020-07-01Fix T77641 Sculpt mode performance regression in 2.83Clément Foucault
2020-06-30Sculpt: Refactor persistent base to make it usable from other toolsPablo Dobarro
This renames the layer persistent base and adds new API functions to get the mesh state from the base, so it can be used from other tools and replaced in the future with a better system. Reviewed By: sergey Maniphest Tasks: T77738 Differential Revision: https://developer.blender.org/D8003
2020-06-30Fix T77069 EEVEE: Mix shader with holdout & transparent BSDF failsClément Foucault
This follows Cycles closer.
2020-06-30Fix T78201: Paint color not matching the UI and color pickerPablo Dobarro
The color picker and brush->rgb values are in srgb, but sculpt vertex colors works in linear, so they need to be converted. Reviewed By: sergey Maniphest Tasks: T78201 Differential Revision: https://developer.blender.org/D8111
2020-06-30Outliner: Add auto scrolling during drag and dropNathan Craddock
Pan the view when dragging elements near the borders. This uses the same operator that scrolls the region during modifiers drag and drop.
2020-06-30Sculpt: Color filter fill modePablo Dobarro
This implements a fill mode in the Color Filter tool, which fills the entire mesh with a specific color. As this functionality is part of the color filter, this allows to control the blending of the fill color with the filter strength. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8158
2020-06-30Outliner/UI: Show library state icons for data-blocks in "Data API" modeJulian Eisel
Previously it was not possible to tell appart a linked data-block from its override copy. In fact you couldn't tell appart any data-blocks with the same name (which is possible with linking). Now we show the library state icon as we do for data-blocks in other display modes. Old/new comparison (note the overriden "GEO-head"): {F8608835} {F8608836}
2020-06-30Pointcache: store owner_id instead of object in PTCacheIDJacques Lucke
The new simulation type can also reference a point cache, but it is not an object. Reviewers: brecht Differential Revision: https://developer.blender.org/D8097
2020-06-30Fix T76480 UI: Proportional Editing Color too Shallow on 2.9aClément Foucault
This changes the drawing by drawing 2 circles with different intensity to avoid any readability issues. This removes the need for Logic OP which is implementation dependent.
2020-06-30Functions: provide dummy multi functionJacques Lucke
Sometimes it is convenient to be able to return a reference to some dummy function.
2020-06-30Functions: add methods to multi-function network classesJacques Lucke
Those are necessary to query and modify the network.
2020-06-30Functions: use raw allocator for function signatureJacques Lucke
This allows multi-functions to have static storage duration.
2020-06-30Functions: add two more customizable multi-functionsJacques Lucke
2020-06-30BLI: support constructing Color4f from float pointerJacques Lucke
2020-06-30Nodes: add some utility methods to DerivedNodeTreeJacques Lucke
2020-06-30Fix T77825: autosave missed too often while sculptingBrecht Van Lommel
Previously if a modal operator is active, which might leave Blender in a state where it's not safe to autosave, it would try again in 10s. Now try again in 10ms so it's much less likely to be missed, since overhead of such a timer is negligble anyway. Also remove the debug print that was added to investigate a bug at some point.
2020-06-30LibOverride: Fix lots of poll functions for Object operators.Bastien Montagne
Prevent operators that should not perform on override data to be callable in those cases.
2020-06-30Sculpt: Pose Brush option to affect loose partsPablo Dobarro
This option allows posing meshes with different disconnected elements using the Pose Brush. This is achieved by doing the following: - Creating an ID per vertex that stores the connected component of that vertex. - By using those IDs, one fake topology connection is created per vertex to the nearest vertex in a different ID. The maximum distance to create that connection is determined by the "Max Element Distance" property. These fake connectivity neighbors are used in the Sculpt API functions iterators, so all the algorithms of the Pose Brush can run without modifications as if everything was part of the same mesh. In order to make this work, the "Connected only" property of the Pose Brush needs to be disabled. This will add an extra performance cost to the Pose Brush and its preview. To achieve optimal results, max element distance should be as low as possible. Reviewed By: sergey, campbellbarton Differential Revision: https://developer.blender.org/D7282
2020-06-30Fix T78358: random crash editing shader nodes with texturesBrecht Van Lommel
2020-06-30Fix T76337 Overlay: Wireframe: x-ray doesn't deactivate when set to 0Clément Foucault
Also fix an issue with antialiasing when xray opacity is set to 0.
2020-06-30LibOverride: Add most of Object properties as overridable.Bastien Montagne
2020-06-30BLI: add Array constructor that does not initialize non-trivial typesJacques Lucke
This should rarely be necessary, but I have a use case coming up soon.
2020-06-30Custom Properties: support default values for stringsDemeter Dzadik
Differential Revision: https://developer.blender.org/D8102
2020-06-30Fix T77734: random crash when rendering animationVincent Blankfield
Differential Revision: https://developer.blender.org/D7986
2020-06-30Fix missing relation in compositor depsgraphSybren A. Stüvel
This is a fix for c7694185c92. An object without base can still be in the depsgraph, and then the `VIEW_LAYER_EVAL` node does not exist. This popped up while @Sergey was looking into T78264.
2020-06-30Cleanup: add missing extern "C"Jacques Lucke
2020-06-30Transform: Reduce the alpha in the Edge Slide drawingGermano Cavalcante
It was very intense and could be confused with the `Even` option.
2020-06-30Transform: Add constraint intersection supportGermano Cavalcante
Snap to faces and edges is now enhanced in the Edge Slide. It works in the same way that it already works in the Vert Slide. Basically it now snaps to the intersection of the slid edge with the face plane or the edge line.
2020-06-30Nodes: store nodes by bNodeType instead of idnameJacques Lucke
This is more efficient in most cases.
2020-06-30Alembic exporter: Fix Windows build errorsSybren A. Stüvel
Some Windows-specific code needed adjustment after 2917df21adc8a1ce.
2020-06-30Cleanup: spellingCampbell Barton
2020-06-30Cleanup: clang-formatCampbell Barton
2020-06-30LibOverride: Add minimal support of liboverrides to shapekeys.Bastien Montagne
2020-06-30LibOverride: Refactor 'make override' 3DView operator.Bastien Montagne
This one now uses a generic 'dependency detection' process to decide which IDs should be overridden. This will e.g. allow to override mesh and shapekeys when those have some values controlled by drivers using an armature bone...
2020-06-30LibOverride: Fix handling of owned ID pointers in diffing process.Bastien Montagne
2020-06-30LibOverride: Add proper handling of shapekeys to core override code itself.Bastien Montagne
2020-06-30LibOverride: Add necessary bits in RNA to deal with embedded IDs paths.Bastien Montagne
Note that this code is rather rough and slightly hacky, a proper solution needs to be designed at some point probably, but for now this should work fine. As usual, master collections and root node trees remain TODO for now.
2020-06-30LibOverride: properly tag owner ID for override refresh, when embedded one ↵Bastien Montagne
is affected. Note that this is partially WIP code, we only take care of shapekeys here for now. Also, move this tagging for liboverride refresh into same chack as the one for tagging editors, sounds more logical that way.
2020-06-30LibOverride: Add concept of 'embedded'/'virtual' override.Bastien Montagne
IDs like embedded ones (master collections, root node trees) cannot be linked, and thus cannot be real override themselves. Since they are managed by their owner ID, that one will also have the overrides for their locally edited properties. We still need a way to mark them as overridden though, for various UI and override-internal purposes, this is done using a new ID flag. Note that since Shae Keys are not linkable, and their pointers are not editable in RNA, they are also considered as embedded from override point of view.
2020-06-30Cleanup: ID macros: cast to `const ID *` instead of `ID *`.Bastien Montagne
Allows to pass const pointers without getting complains from the compiler.
2020-06-30Cleanup: Use unsigned int when for enum values, instead of signed int.Bastien Montagne
2020-06-30Cleanup: LibOverride: Naming.Bastien Montagne
2020-06-30LibOverride: Fix improper update of depsgraph relations.Bastien Montagne
2020-06-30Cleanup: LibOverride: Replace raw pointers checks by proper macros.Bastien Montagne
This is cleaner, but also crucial to avoid weird issues when behaviors of those checks are modified...
2020-06-30Cleanup (from clang format)...Bastien Montagne
2020-06-30Fix T78367: triangulate modifier does not preserve sculpt vertex colorsBrecht Van Lommel
2020-06-30Alembic: new exporter based on the USD exporter structureSybren A. Stüvel
The Alembic exporter has been restructured by leverages the `AbstractHierarchyIterator` introduced by the USD exporter. The produced Alembic files have not changed much (details below), as the Alembic writing code has simply been moved from the old exporter to the new. How the export hierarchy is handled changed a lot, though, and also the way in which transforms are computed. As a result, T71395 is fixed. Differences between the old and new exporter, in terms of the produced Alembic file: - Duplicated objects now have a unique numerical suffix. - Matrices are computed differently, namely by simply computing the evaluated transform of the object relative to the evaluated transform of its export-parent. This fixes {T71395}, but otherwise should produce the same result as before (but with simpler code). Compared to the old Alembic exporter, Subdivision modifiers are now disabled in a cleaner, more efficient way (they are disabled when exporting with the "Apply Subdivisions" option is unchecked). Previously the exporter would move to a new frame, disable the modifier, evaluate the object, and enable the modifier again. This is now done before exporting starts, and modifiers are only restored when exporting ends. Some issues with the old Alembic exporter that have NOT been fixed in this patch: - Exporting NURBS patches and curves (see T49114 for example). - Exporting flattened hierarchy in combination with dupli-objects. This seems to be broken in the old Alembic exporter as well, but nobody reported this yet. Differential Revision: https://developer.blender.org/D7664 Reviewed By: Sergey
2020-06-30Cleanup: unused argumentsCampbell Barton
2020-06-30Fix T78455: Failed assert when opening a viewport panelJulian Eisel
Mistake from 1fa40c9f8a810.