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
2019-08-16Outliner: Add range extend select and modify keymapNathan Craddock
Modifies selection keymap to be more conventional, with shift click for range selection and ctrl click for extend selection.
2019-08-16Outliner: Support box select on click+dragNathan Craddock
2019-08-16Outliner: set parent for entire selectionNathan Craddock
Set and clear parents for all elements in the selection in the outliner. This also removes the popup menu for setting the parent to curves, armatures, and lattices. It makes more sense to keep the outliner simple and only do object parenting.
2019-08-16Outliner: Fix scenes in scene display not starting openNathan Craddock
2019-08-16Outliner: Fixes to show active and scroll pageNathan Craddock
Adjusts the scrolling of show active and scroll page operators to use the `outliner_scroll_view` operator to ensure scrolling does not leave the outliner bounds. Also changes show active to expand subtrees containing all instances of the active object, which may be linked to multiple collections.
2019-08-16Outliner: set scene camera on camera data activateNathan Craddock
2019-08-16Outliner: Draw sequencer and vertex group iconsNathan Craddock
Draw icons for sequencer and vertex groups. The sequence types need updates because they all draw in various colors and some sequence types do not have an icon.
2019-08-16Outliner: Use F2 to rename active outliner itemNathan Craddock
Previously with F2 mapped to the global rename active object operator, it was not posible to use the conventional F2 to rename any outliner element like collections or object data. This adds F2 to the outliner keymap to call the outliner rename operator rather than the popup rename object operator.
2019-08-16Outliner: walk navigation operator and openclose fixesNathan Craddock
Adds a keyboard walk navigation and selection operator to the outliner. Up and down arrow keys walk up and down the list of elements, and left and right will open and close elements if the elements are closed or opened respectively. Holding shift while walking up and down the tree expands the selection. Holding shift while clicking or pressing left and right arrows will expand or collapse all children elements recursively. Pressing enter to openclose the hovered element is removed. Also allows click+drag for openclose of element subtrees. This moves openclose toggling to the openclose operator to remove duplicate code. The outliner tree building is tweaked slightly to set the proper parents in scene display mode for walk select to walk to parents without errors.
2019-08-16Outliner: invisible object filterNathan Craddock
Adds an invisible object filter in the outliner to show hidden objects. This is useful to quickly locate hidden items in a large outliner tree and easily toggle visibilty back on. Invisible refers to an object being hidden, or viewport visibility restricted.
2019-08-16Outliner: Allow select on row iconsNathan Craddock
Allow selection of subtree elements on a collapsed element's row. Because subtree elements are aggregated by type, a select on an icon that represents multiple subtree elements will invoke a popup menu to select the specific subtree element. Also draws highlights on cursor hover over a row icon. Any child elements that are linked to multiple collections will only be listed in the popup one time, and selection from the popup will select the first instance in the subtree.
2019-08-16Outliner: Draw constraint icons and enable buttonNathan Craddock
Draw all constraint icons and enable/disable restrict buttons. The action constraint needs its own icon. It currently draws white instead of the blue modifier color.
2019-08-16Eyedropper: Support datadropper in the outlinerNathan Craddock
Adds support for using the eyedropper in the outliner in addition to the 3D view.
2019-08-16Collections: change active if hidden or excludedNathan Craddock
When the active collection is hidden or excluded, change the active collection to the first visible parent collection. This behavior existed previously for excluding collections, and is now expanded to also switch the active collection when viewport hidden or restricted. This does not prevent viewport hidden or restricted collections from being reactivated later. This could be added as a separate commit. Excluded collections cannot be activated, so it may make sense to extend this behavior to hiding collections.
2019-08-16Outliner: Synced selection and active element highlightingNathan Craddock
Adds a toggle to the filter menu for outliner synced selection. Enabled by default, this ensures selection is synced between objects, bones, and sequences. An active outliner element theme color is added to indicate which element is active. Synced selection is controlled on the operator level. Each operator that modifies selection for objects, bones, sequences, or outliner elements needs to call the respective ED_outliner_select_sync_from.. function to tag outliners to be synced. Syncing is done lazily on outliner draw.
2019-08-16Fix T68103: bevel sometimes infinite loops with patch miter.Howard Trickey
Needed to null terminate list of chain to process width adjustments on.
2019-08-16Fix T68009: Recognize X.Org/AMD as GPU_DEVICE_ATI and open source driverRémi Verschelde
Reviewed By: #gpu_viewport, fclem Differential Revision: https://developer.blender.org/D5392
2019-08-16Fix T68702: Input socket in the Normal node isn't drawn properly.OmarSquircleArt
The Normal vector socket in the Normal node wasn't drawn properly and couldn't be controlled. Additionally, the socket name was drawn over it. This happened because the socket had a default value of a zero vector. To fix this, we set the default value to the unit vector `(0, 0, 1)`. Moreover, we don't draw the UI name if the subtype is `PROP_DIRECTION`. Reviewers: brecht Differential Revision: https://developer.blender.org/D5503
2019-08-16Revert "Outliner: only activate outliner items when clicking on icon/text"Campbell Barton
The soc-2019-outliner branch relied on the previous behavior, since this is going to be merged soon, postpone this change. This reverts commit 9dab57a9f829881dad1e659b53413ded15ec085e.
2019-08-16Cleanup: remove gawain referenceCampbell Barton
2019-08-16Cleanup: clang-formatCampbell Barton
2019-08-16Cleanup: spellingCampbell Barton
2019-08-16Cleanup: unused args/varsCampbell Barton
2019-08-16UI: click on status bar report message now opens window with Info editorBrecht Van Lommel
Patch by Valentin (Poulpator) Differential Revision: https://developer.blender.org/D5468
2019-08-16Fix part of T62917: selected edge not highlighted with black and white overlaysEitanSomething
Differential Revision: https://developer.blender.org/D5369
2019-08-16Fix T55054: possible use of unsupported instructions in Cycles texture codeLazydodo
Differential Revision: https://developer.blender.org/D5326
2019-08-16Fix Unreported crash when opening linked material using nodegroupsClément Foucault
This removes the recursive conversion of material using old blend modes. With the approval of @brecht
2019-08-16Fix T68651: LibOverride: Fix bad handling of RNA collections pointers.Bastien Montagne
We were storing the 'item' part in the RNA path of the override op itself, which will not work with IDs because overriding local one might not have the same name as the linked one (when some local ID with same name already exists). Now we are properly handling this using the expected actual override operation, which stores necessary data (names or indices) from both local and linked data.
2019-08-16Cleanup: proper use of UNUSED_VARS_NDEBUG instead of random hack.Bastien Montagne
2019-08-16LibOverride: do not allow diffing on collections' `all_objects` member.Bastien Montagne
This is useless (as diffing on `objects` + `children` shall be enough), and potentially very time consuming in case of heavy hierarchy of collections.
2019-08-16User Preferences: Added "Enabled add-ons only" preferenceSybren A. Stüvel
This checkbox replaces the "Disabled" and "Enabled" entries in the filter drop-down. As a result, it now takes a single click to limit the shown entries to enabled add-ons only. This is also an actual flag in the preferences, and thus its state is saved between runs on Blender (in contrast to the filter, which is always reset to "All"). Reviewed by: brecht, billreynish
2019-08-16Fix T68715 Hidden polygon Edit mode are hidden in Object levelClément Foucault
2019-08-16Fix T56408: Hair children recalc on every frame on Alembic meshSybren A. Stüvel
This fixes the glitching hairs described in T56408, T63534, and possibly also T63534. The fix consists of returning the original mesh (i.e. as visible in edit mode) when constructing the ORCO mesh. This allows a static set of coordinates to be used when computing the child hair positions. The original mesh is only returned when it has the same topology (at least same number of vertices, loops, and polys. It's up the author of the Alembic file to ensure stable geometry when it's desired to be compatible with Blender's hair system. Reviewers: mont29, brecht Differential Revision: https://developer.blender.org/D5492
2019-08-16Fix T67999: calling Mesh.materials.clear() crashes BlenderSybren A. Stüvel
The `BKE_material_pop_id()` and `BKE_material_clear_id()` functions had a parameter `update_data` that, when `false`, would cause the mesh polys to keep their material index, even when the indexed material slots were removed. This behaviour was never used in the C code and not supported by the drawing code, making polygons disappear and causing crashes. The Python binding in RNA, however, defaulted to `update_data=False`. This commit removes the `update_data` parameter altogether, and makes the functions always fix up the material indices. Reviewed by: mont29, brecht
2019-08-16Fix T64998: Multi window spin tool crashCampbell Barton
There could be a more direct way to initialize a gizmo in a view, for now this resolves the crash.
2019-08-16build_env: Added OpenImageDenoise to install_deps.shStefan Werner
Building OIDN still needs to be enabled explicitly with --with-oidn. It will fail with older versions of CMake or TBB, so I can't make any guarantees for various Linux distributions or versions.
2019-08-16Fix T68710: crash on applying modifier after removing all shape keysPhilipp Oeser
This was a mistake in rB87629b2a7443 `BKE_object_shapekey_free` would never return `true`, so DEG updates would not happen... So `ob->shapenr` was not up-to-date etc., leading to crash in `BKE_mesh_nomain_to_mesh` shapekey handling... Reviewers: brecht Maniphest Tasks: T68710 Differential Revision: https://developer.blender.org/D5501
2019-08-16Cleanup: fix compiler warningsBrecht Van Lommel
2019-08-16Transform: use a kd-tree to calculate proportional distancesCampbell Barton
While speedup is non-linear, it gives ~30% speedup for ~6 million verts. D3993 by @Al with edits.
2019-08-16Sculpt: Pose brushPablo Dobarro
This commit also includes the MOUSE_INBETWEEN events fix for other brushes.
2019-08-16Outliner: only activate outliner items when clicking on icon/textCampbell Barton
This is 2.7x behavior, while there are plans to improve on this, committing in case larger changes take longer. Without this it's not easy to select object data without changing modes. See D5493
2019-08-15WM: reuse visible region calculationCampbell Barton
Avoids calculating the visible part of a region whenever on-screen overlays are drawn.
2019-08-15Cleanup: use booleanCampbell Barton
2019-08-15Fix check that validates a selection indexmano-wii
2019-08-15Windows/MSI: Rework MSI installer.Lazydodo
The installer always upgraded the last version installed and did not allow for two versions to be installed side by side. The reworked installer will allow side by side installs install order: ``` 2.81 -> 2.81a -> 2.82 : Allowed , will result in both 2.82 and 2.81a being installed 2.82 -> 2.81 -> 2.81a : Allowed , will result in both 2.82 and 2.81a being installed 2.82 -> 2.81a : Allowed , will result in both 2.82 and 2.81a being installed 2.82 -> 2.81a -> 2.81 : Not Allowed, 2.81 will only install if you manually remove 2.81a first. ``` Do note though that this will not apply to any previously issued installers and even for 2.80a this is not something we can fix. This patch is for landing in 2.81 *only* and should be excluded from any possible 2.80a release. Second change is a change to the compression level, building the MSI takes 30 minutes, which is crazy, perhaps worth it if the compression actually pays of. ``` MSI - none 1:35 247.0 MB (260,025,634 bytes) MSI - mszip 2:02 89.6 MB ( 94,022,946 bytes) MSI - low 2:35 81.6 MB ( 85,646,626 bytes) MSI - medium 4:11 77.3 MB ( 81,136,930 bytes) MSI - high 28:01 74.7 MB ( 78,384,418 bytes) zip 1:32 93.2 MB ( 97,732,293 bytes) 7Z 2:22 65.0 MB ( 68,171,614 bytes) ``` It didn't, so I lowered it to medium, seemed reasonable. Differential Revision: https://developer.blender.org/D5494 Reviewers: brecht, jesterking
2019-08-15Fix T68705: Changing any editor to the properties crashes BlenderDalai Felinto
Issue introduced (more like exposed) in b7f86ff72273.
2019-08-15Fix T68689 Fix infinite recursion cause by versioning codeClément Foucault
Complex nodetrees could fire infinite recursion with previous algo. Now using another gset we make sure we can only evaluate a tree once.
2019-08-15Fix broken text editing of integer number buttons, after recent changesBrecht Van Lommel
2019-08-15Build: enable OpenImageDenoise, now that we have libraries for all platformsBrecht Van Lommel
Note that we are still missing an update for install_deps.sh to easily build this on Linux. Only "make deps" has it for now.
2019-08-15Cleanup: clang-format, unused argCampbell Barton