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-28Transform: Correct Face Attributes: Option to merge attributesGermano Cavalcante
Keeping face attributes connected is now optional. Keeping UV's connected is useful for organic modeling, but bad for architectural. Differential Revision: https://developer.blender.org/D8360
2020-07-28Fix precision issues in 'interp_weights_poly_v2'Germano Cavalcante
These precision issues were evident in corrected uvs when the option `"Correct Face Attributes"` is enabled.
2020-07-28Fix T79180: Object disappears when scaled, set origin etc after applying ↵Bastien Montagne
smooth modifier. Very dummy mistake in modifier code would generate invalid number (divisions by zero)... Should also be ported to 2.83.
2020-07-28Fix T79263: Alembic, exported rigid body animation not movingSybren A. Stüvel
The root cause was that `BKE_object_moves_in_time()` incorrectly returns `false` when an object is moved by the physics system. This also fixes the same issue in the USD exporter.
2020-07-28Clip Editor: Make filter labels consistentPhilipp Oeser
This was done for the regular dopesheet in rB9ccc73ade8a2, this just makes that label consistent across all anim views. Differential Revision: https://developer.blender.org/D8255
2020-07-28Fix T79264: Mantaflow Field weights cannot be animatedPhilipp Oeser
rna_EffectorWeight_path() needs to point to "domain_settings" (instead of "settings"), was a missing change when switching the FluidModifier to mantaflow. Maniphest Tasks: T79264 Differential Revision: https://developer.blender.org/D8398
2020-07-28Tests: show debugging hint when USDStageCreationTest failsSybren A. Stüvel
Setting the environment variable `PXR_PATH_DEBUG` non-empty will make the USD library print the directories it uses to find its JSON files. This can aid in debugging when this unit test fails. Now the failure message also tells you about this. No functional changes.
2020-07-28Fix T79341: Crash evaluating curveCampbell Barton
2020-07-28Fix: Wrong outliner restrict column for gpencil layer hideNathan Craddock
The icon was drawing in the viewport disable rather than the viewport hide column. Unreported.
2020-07-27Fix Sculpt Relax operation when deforming mesh boundariesPablo Dobarro
Previously, mesh boundaries were relaxed as any other vertex, which was causing artifacts and unwanted deformation. In order to prevent this, the mesh filter was using the automasking system to lock the boundary vertices, which was hacked into the tool. For the brush, the only solution was to enable boundary automasking to lock those vertices in plance. Now the relax vertex function slides the boundary vertices along the mesh boundary edges, relaxing all the topology correctly while preserving the shape of the mesh. The automasking hack in the relax mesh filter was also removed as now vertices slide correctly along the boundary. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8350
2020-07-27Fix T79074: Mesh Topology info not being updated after changesPablo Dobarro
All these data arrays are created for a specific topology, so they should be freed and updated when the PBVH rebuilds. Previously, this was only happening when freeing the SculptSession, but it also needs to happen in BKE_sculpt_update_object_before_eval to avoid reusing out of date data. Reviewed By: sergey Maniphest Tasks: T79074 Differential Revision: https://developer.blender.org/D8357
2020-07-27Fix T79164: Sculpting with smooth shading doesn't update normalsPablo Dobarro
Just a missing update flag Reviewed By: sergey Maniphest Tasks: T79164 Differential Revision: https://developer.blender.org/D8364
2020-07-27Fix T78242: Crash when using a Sculpt color tools that needs connectivity ↵Pablo Dobarro
for the first time When there is no color layer available, BKE_sculpt_update_object_for_edit creates a new one and tags the mesh with ID_RECLAC_GEOMETRY, so this layer is inmediatly available when the tool starts. This also deletes the PBVH and when it is created again in BKE_sculpt_update_object_after_eval, the pmap is not initialized, making the tool crash. This moves the color layer creation to a separate function outside BKE_sculpt_update_object_for_edit, which now runs after the color layer is available, so it won't need to update again and the pmap will still be available when the tool is used. Reviewed By: sergey Maniphest Tasks: T78242 Differential Revision: https://developer.blender.org/D8135
2020-07-27Fix T78308: Weight Transfer Operator "Deform Pose Bones" destination setting ↵Bastien Montagne
doesn't work. Some modes were working by mere chance in that ugly 'reversed' case, but the to/from selection modes were not properly swapped... Should also be safe for 2.83.
2020-07-27Fix T78306: Weight Transfer Operator target mesh doesn't update when ↵Bastien Montagne
transforming bones. Data transfer operator was missing tagging DEG for relations updates. Should be portable to 2.83 as well.
2020-07-27Cleanup: Fix compiler warning about function without prototypeSybren A. Stüvel
No functional changes.
2020-07-27Cleanup: Fix compiler warning about missing parenthesesSybren A. Stüvel
The code was well-defined, given that `&&` binds stronger than `||`, but still GCC warns about this. No functional changes.
2020-07-27Cleanup: comments.Bastien Montagne
2020-07-27Cleanup: Minor renaming.Bastien Montagne
2020-07-27Fix T79121: Dependency cycle when driver points to prop with 'scale' in nameSybren A. Stüvel
This makes `RNANodeQuery::construct_node_identifier()` more strict in its matching of certain property names. The downside of this approach is that it's not possible any more to use `"rotation"` and expect a match for `"rotation_euler"` and friends, so the list of strings to test against is now 3x as long. Reviewed By: sergey Maniphest Tasks: T79121 Differential Revision: https://developer.blender.org/D8375
2020-07-27Cleanup: Alembic, fix maybe-uninitialized warningSybren A. Stüvel
No functional changes.
2020-07-26Fluid: Added new option to control the maximum number fluid particles in the ↵Sebastián Barschkis
simulation New option that lets users the define the maximum number of fluid particles that will be allowed in the simulation. This can come in handy, for example, to ensure that the particle count will not exceed the hardware capabilities, or to avoid excessive amounts of particles in a scene.
2020-07-26Fix T74958: Infinite loop on using strip as modifier maskRichard Antalik
Add recursion check before assigning strip as a mask for modifier. Same check is used for recursion check when reassigning effect input, so it should not be possible to create recursion at all.
2020-07-26Fix T78999: Crash when adjusting sequencer propertyRichard Antalik
Sequencer was not initialized yet, and RNA update function tried to clean up cache. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8323
2020-07-26Fix T79272: Dimensions fail on negative scaled axisCampbell Barton
2020-07-25Fix T79260: Crash displaying the same mesh in two windowsCampbell Barton
2020-07-25Fix T79239: UV path select crashCampbell Barton
2020-07-25Fix T79254: FCurve editor crash when zooming out to limitCampbell Barton
2020-07-25Fix T72622: Transform object origin ignores shape keysCampbell Barton
D8367 by @paul2t with edits.
2020-07-24Cleanup: Rename 'isect_ray_seg_v3' to 'isect_ray_line_v3'Germano Cavalcante
The name was misleading as it returns true whenever it intersects the line represented by the points.
2020-07-24Depsgraph: use construct on first use idiom for graph registryJacques Lucke
This is necessary to avoid false positive memory leaks.
2020-07-24Allocator: make leak detection work with static variablesJacques Lucke
When definining static variables that own memory, you should use the "construct on first use" idiom. Otherwise, you'll get a warning when Blender exits. More details are provided in D8354. Differential Revision: https://developer.blender.org/D8354
2020-07-24Fix interface artifacts on Intel GPUsSergey Sharybin
This is a continuation of fix for T78307. Turns out instancing do not work at all, so enforce single widget drawing on macOS and Intel GPU. It was also reported that certain AMD and Mesa driver suffer from similar issue, so disabled instancing for this configuration as well. Differential Revision: https://developer.blender.org/D8374
2020-07-23Fix T79187: Outliner "Make Single User" crashNathan Craddock
When "ID Data" -> "Make Single User" is chosen with selected elements that are not curves, there is a crash. This fix ensures that the id in the callback function is an Action.
2020-07-23Fix: Incorrect VR pose after changing landmarkJulian Eisel
Once the base pose was changed (e.g. by changing the active landmark), we'd always run the logic to reset to the base pose. That would mess up the final viewer pose. Think this only got exposed through 607d745a79e0.
2020-07-23LibOverride: Add update of overrides when reloading library data.Bastien Montagne
Pretty straight-forward, although it does not rebuild relationships (this is a heavy process we do not want to automate for now, will be a separate operator in near future). Fix T78179: Library Overrides - Additional geometry not updating without reloading scene.
2020-07-23Cleanup: Clang format.Bastien Montagne
2020-07-23Fix (unreported) crash in reload library code related to shpaekeys.Bastien Montagne
Once again, we need lots of unatural twisting and convolutions to get those nasty things to work... Note that in previous versions of Blender, this would not crash, but was still broken (shapekeys were never actually reloaded from libraries).
2020-07-23Fix (unreported) bad handling of pointers in overrides with shapekeys.Bastien Montagne
2020-07-23DNA: support fixed size integersJacques Lucke
Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D8373
2020-07-23Fix T77277: building depsgraph inter-driver relations is slowSybren A. Stüvel
The extra depsgraph relations that were added to prevent threading issues during evaluation (rB4c30dc343165) caused a considerable slowdown on complex scenes with many drivers (T77277, T78615). This commit improves this as follows. Only the following drivers are considered for execution serialisation: - Drivers on Array elements, and - Drivers on Boolean or Enum properties. Relations between drivers of the same arrays are added blindly, i.e. without checking for transitive or cyclic relations. This is possible as other relations will just target the `PROPERTIES_ENTRY` or `PROPERTIES_EXIT` nodes. Checking whether a driver is on an array is first done by checking `array_index > 0`, and then falling back to resolving the RNA path to an RNA property and inspecting that. The code also avoids circular dependencies when there are multiple drivers on the same property. This not something that is expected to happen (both the UI and the Python API prevent duplicate drivers), it did happen in a file (F8669945, example file of T78615) and it is easy to deal with here. Reviewers: sergey Subscribers: mont29 Comment update
2020-07-23Fix T29189 bevel crash.Howard Trickey
New code to calculate UV islands made an incorrect assumption about maximum stack size.
2020-07-23Fix T79158: Eevee cubemaps shows blackGermano Cavalcante
Same as T75943 that was fixed by rBff97545c50f4
2020-07-23LibOverride: Add reset operations to the outliner menu.Bastien Montagne
2020-07-23LibOverride: Add core functions to reset a library override.Bastien Montagne
This means that we delete all override properties except for those over ID pointers *if* the assigned pointer matches the linked data hierarchy. Then we reload affected datablocks.
2020-07-23LibOverride: Store RNA prop type in override properties.Bastien Montagne
Storing this info will help with dealing with reset operations and the like (as we do not want to reset overrides of ID pointers essentially).
2020-07-23LibOverride: Outliner override creation: Better checks.Bastien Montagne
Enhance checks for which ID is valid for the override creation operation.
2020-07-23LibOverride: Make `ID_IS_OVERRIDABLE_LIBRARY` macro more correct.Bastien Montagne
2020-07-23LibOverride: Move override operations into own section of the ID outliner menu.Bastien Montagne
Also cleanup naming in outliner's override callbacks.
2020-07-23LibOverride: Fix missing ID update tag in `BKE_lib_override_library_update`.Bastien Montagne