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-11-17Geometry Nodes: Update boilerplate code for attributesgeometry-nodes-attribute-nodesHans Goudey
2020-11-17Merge branch 'geometry-nodes' into geometry-nodes-attribute-nodesHans Goudey
2020-11-16Merge branch 'master' into geometry-nodesHans Goudey
2020-11-16UI: Remove X axis panel draggingHans Goudey
X axis panel dragging traces back to Blender versions before 2.5, where panels could be aligned horizontally. But for many years now panels have been vertically aligned. Considering this, keeping the X axis dragging around is a bit odd. It makes interaction confusing, or at least more complicated. It also looks bad, since any part of the panel outside the region is cropped. Differential Revision: https://developer.blender.org/D9549
2020-11-16Cleanup: clang-tidyCampbell Barton
2020-11-16Merge branch 'master' into geometry-nodesJacques Lucke
2020-11-16Correct T82753 Fix from 979fe4f1be7d6fe65e52b3ab805ab061a92d1f03Campbell Barton
2020-11-16Fix T82753: Crash using add-object tool when gizmos are disabledCampbell Barton
2020-11-16Grease Pencil: adjust behavior of target object detectionCampbell Barton
First detect the other selected object, then check it can be written to. Otherwise the target object could be the first one found when looping over objects which is random from the user perspective. Move the type check to the operator, which also checks the data isn't library data which was being ignored.
2020-11-16Cleanup: spellingCampbell Barton
2020-11-16Cleanup: clang-formatCampbell Barton
2020-11-15Outliner: Fix memory errors in runtime dataNathan Craddock
Fix a heap-use-after-free when duplicating outliner editors, and fully free runtime data when freeing outliner editors.
2020-11-14Merge branch 'master' into geometry-nodesHans Goudey
2020-11-14Merge branch 'blender-v2.91-release'Nathan Craddock
2020-11-14UI: Remove remaining uses of old collection iconNathan Craddock
After rB452a1c7b3838 there were still a few cases where the old collection icon was used in the interface. Replace these with the new filled collection icon.
2020-11-14Rename: "Nodes" modifier to "Empty" (take 2)Dalai Felinto
Leave the internal DNA data struct as "Nodes", and only rename the modifier and user interface to Empty. See 4a2734a835c10d5bffaaceddc59c for the original take and the reasoning for renaming from Nodes to Empty.
2020-11-14Revert "Rename: "Nodes" modifier to "Empty""Dalai Felinto
This reverts commit 4a2734a835c10d5bffaaceddc59c41837801f402. Reverting this so that all we change is the UI name, not the DNA struct and the internal variable names.
2020-11-14Rename: "Nodes" modifier to "Empty"Dalai Felinto
This introduces a regression. Users need to re-create their modifiers and set their values again. The NodeGroups are intact so all they need is to create new "Empty" modifiers and set the node group. --- Original problem: Eventually most modifiers will be node-based, so naming this new modifier "Nodes" will get outdated pretty quickly. Calling it "Empty" it's fairly descriptive, since the node tree simply connects the modifier Input to an Output, without any effect. There is a potential problem, that it could be associated with the Empty object type. Like some sort of Hook. This is the task T82700, and the design task T82537.
2020-11-13GPencil: Merge GSoC curve edit modeFalk David
Differential Revision: https://developer.blender.org/D8660 This patch is the result of the GSoC 2020 "Editing Grease Pencil Strokes Using Curves" project. It adds a submode to greasepencil edit mode that allows for the transformation of greasepencil strokes using bezier curves. More information about the project can be found here: https://wiki.blender.org/wiki/User:Filedescriptor/GSoC_2020.
2020-11-13Cleanup: Make panel type flag names more clearHans Goudey
The overlap with the `Panel` flags that start with "PNL" was quite confusing because wasn't clear which enum a flag was from. The new names are a bit longer, but the clarity is worth it.
2020-11-13Merge branch 'master' into geometry-nodesHans Goudey
2020-11-13GPencil: Remove ID from operators to fix T82597Antonio Vazquez
Instead to use the ID of the object, now the parameter is an Enum with Selected object or New. If use selected mode, the first grease pencil object selected is used. If none of the selected objects is a grease pencil object, a new object is created. Small cleanup changes to the original patch. Differential Revision: https://developer.blender.org/D9529
2020-11-13LibOverride: Adjust PointCache operators to properly handle overrides.Bastien Montagne
LibOverrides only support a small sub-set of PointCache features for now (one cannot add new caches, baking in memory is not supported...). Part of first step of T82503: support disk cache in liboverrides.
2020-11-13Object: show preview plane for add-object toolCampbell Barton
The orientation & depth settings are used to show the preview plane that is used when adding the object.
2020-11-13Cleanup: Remove unecessary logic in panel codeHans Goudey
Also use short for panel flag arguments to functions since it matches the type in DNA, and remove a comment that isn't helpful.
2020-11-13Cleanup: Simplify panel activate state functionHans Goudey
This commit moves some of the logic around so that the logic in panel_activate_state is clearly separated by the state being activated. There are fewer nested and redundant checks, and it's easier to see the progression of interaction with the panel handler.
2020-11-13Fix T82596: Fly/walk navigation crashHans Goudey
Add a NULL check for the View3D's camera, because these modes can be entered even without an active camera.
2020-11-13Outliner: Sync with property editor physics tabHans Goudey
This commit makes the property editor switch to the physics tab instead of the modifier tab when selecting physics modifiers. Since the modifier isn't visible then, it's confusing to change the expansion, so this commit also disables the modifier expansion for these modifiers. Differential Revision: https://developer.blender.org/D9544
2020-11-12Geometry Nodes: Add method enums to mesh triangulate nodeLéo Depoix
This commit adds the remaining "method" enums from the triangulate modifier. Differential Revision: https://developer.blender.org/D9502
2020-11-12Merge branch 'master' into geometry-nodesHans Goudey
2020-11-12Merge branch 'blender-v2.91-release'Sebastián Barschkis
2020-11-12Fix T81813: Keyframe handles don't follow keyframesWayde Moss
Add a new property `co_ui` to Keyframes, the modification of which will apply to the keyframe itself as well as its Bézier handles. Dragging the "Keyframe" slider in the properties panel now maintains the deltas between the keyframe and its handles, just like moving the key in the graph editor would. Reviewed by @sybren in T81813.
2020-11-12Geometry Nodes: change color of object socketJacques Lucke
2020-11-12Merge branch 'blender-v2.91-release' into masterPhilipp Oeser
2020-11-12Sculpt: fix face set extract clicking in empty spacePhilipp Oeser
Should not do anything in that case. ref T82615 Maniphest Tasks: T82615 Differential Revision: https://developer.blender.org/D9532
2020-11-12Sculpt: use ESC key in addition to RMB to cancel eyedropperPhilipp Oeser
This is more in line to other eyedropper usages throughout blender. Affected operators: - Sample Dyntopo detail - Extract Face Set (as reported in T82615) ref T82615 Maniphest Tasks: T82615 Differential Revision: https://developer.blender.org/D9531
2020-11-12Merge branch 'master' into geometry-nodesJacques Lucke
2020-11-12Merge branch 'blender-v2.91-release' into masterPhilipp Oeser
2020-11-12Fix T82624: Skin modifiers root bone cannot be movedPhilipp Oeser
When creating an armature from the skin modifier, resulting bones would always be flagged BONE_CONNECTED. Those bones cannot be transformed (just rotated). Now only flag bones that really have a parent BONE_CONNECTED. Maniphest Tasks: T82624 Differential Revision: https://developer.blender.org/D9534
2020-11-12Fix T82388: Sculpt mode: Unexpected undo behavior.Bastien Montagne
Issue exposed by rB4c7b1766a7f1. Main idea is that non-memfile first undo step should check into previous memfile and tag the ID it is editing as `future_changed`. That way, when we go back and undo to the memfile, said IDs are properly detected as changed and re-read from the memfile. Otherwise, undo system sees them as unchanged, and just re-use the current data instead. Note that currently only Sculpt mode seems affected (probably because it is storing the mode switch itself as a Sculpt undo step instead of a memfile one), but similar action might be needed in some other cases too. Maniphest Tasks: T82388 Differential Revision: https://developer.blender.org/D9510
2020-11-12Merge branch 'blender-v2.91-release'Jeroen Bakker
2020-11-12Merge branch 'blender-v2.91-release'Jeroen Bakker
2020-11-12Fix T82093: Sampled Colors Mismatch When Painting (Partial)Jeroen Bakker
When painting in the image editor on data images (Non-color, Raw) the color mismatched between the sampled color and the actual effect that the painting has on the image. The root cause is that the sampling is color managed, but the painting still uses a fixed color management pipeline with a lot of assumptions. Due to recent changes the drawing of the image editor is color managed, but the painting isn't what made these changes show up. This patch is a work-a-round so that the sampled colors and the effect the paint has on the texture matches. This isn't the correct solution as that would be to migrate all the painting tools to use proper color management. Reviewed By: Pablo Dobarro Differential Revision: https://developer.blender.org/D9411
2020-11-12Fix T81673: Color picker picks up UI and OverlayJeroen Bakker
There are two implementations of the Sample Color operation. One is used by the paint texture and one by the image editor. The image editor variant sampled from the ibuf directly, but the paint texture variant was sampling from the screen front buffer. This can lead into incorrect samples due to color pipeline. This patch will use the image editor variant when sampling a color for 2d texture painting Reviewed By: Pablo Dobarro Differential Revision: https://developer.blender.org/D9408
2020-11-12Cleanup: split view3d_placement depth & orientation calculationCampbell Barton
Split out functionality needed for preview plane drawing.
2020-11-12Cleanup: clang-tidy, remove invalid commentsCampbell Barton
2020-11-12Cleanup: spellingCampbell Barton
2020-11-12Cleanup: warningsCampbell Barton
2020-11-11UI: Tooltips: dont add period to labelsAaron Carlisle
These are generally only one or two word phrases and are not sentences. This change slightly improves readability. Note, the check when display labels: ``` Tip Label (only for buttons not already showing the label). ``` Could be improved here because there are a lot of false positives.
2020-11-11Cleanup: Split header for Outliner tree building into C and C++ headersJulian Eisel
See https://developer.blender.org/D9499. It's odd to include a C++ header (".hh") in C code, we should avoid that. All of the Outliner code should be moved to C++, I don't expect this C header to stay for long.