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-04-16Selecing a pose bone in outliner deselect othersDalai Felinto
This mimics what is now the behaviour for edit bones as well. See e6151bc4c1f2. And it also matches what we do in the viewport when selecting bones.
2019-04-16Fix T63066: Outliner crash when selecting object being in armature editmodeDalai Felinto
While fixing it, also reproducing multi-object selection logic we have in the viewport. If you select one bone from an armature, it deselects all bones from the other armatures currently in edit mode. Inspired by proposed fix by Philipp Oeser (lichtwerk). Code explanation ================ CTX_data_edit_object(C) may be NULL here. In the few cases where it is not we use it for the notifier (in the other cases we call the notifier with NULL, so no harm done). This code is called during outliner drawing, and it is called, for instance every time you mouse hover a bone. If you have a mesh object in edit mode and mouse hover the bones of an armature it is plain obvious we can't rely on CTX_data_edit_object() for anything armature related. And that the original assert was asking for troubles.
2019-04-16ClangFormat: add comments to ignore formattingCampbell Barton
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16Fix T63641: transform snap invert keymap item has an effect when disabled.Brecht Van Lommel
2019-04-16Fix T63617: Bone groups (de)select operators not immediately refreshingPhilipp Oeser
was missing DEG updates Reviewers: brecht Maniphest Tasks: T63617 Differential Revision: https://developer.blender.org/D4691
2019-04-16UI: Refactor View2D number drawingJacques Lucke
This also fixes alignment issues in many editors. E.g. the frame numbers were badly aligned to the grid lines in the timeline. Checkout the images in D4681 for more examples. Reviewers: brecht Differential Revision: https://developer.blender.org/D4681
2019-04-16Fix T63619: Fill Tool is misaligned when 'Gradient' is enabledPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T63619 Differential Revision: https://developer.blender.org/D4692
2019-04-16Fix T63429: Random deselect function lostSebastian Parborg
Add back the ability to choose the select operation for random select. Now we allow the operator to specify if the select operation should be visible in the GUI or not. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4665
2019-04-16GPencil: New Normalize All operatorAntonioya
This operator works similar to mesh operator but for Stroke and Points data. Also minor cleanup in Normalize operator.
2019-04-16GPencil: Add lock icon to Vertex Groups listAntonioya
Also check this flag in operators. Note: This is required for the development of the new Normalize All operator.
2019-04-16GPencil: New Normalize Weights operatorAntonioya
This works similar to mesh operator, but using Stroke and Points data.
2019-04-16Clenaup: odd use of ternary operatorsCampbell Barton
2019-04-16GPencil: Disable G/R/S transformations in Sculpt and Weight Paint modeAntonioya
These transformations must be only available in Object and Edit mode. Reviewed by: @mendio @pepeland
2019-04-16Fix T63492: CTRL+click on an image in a UV or Image Editor crashesPhilipp Oeser
Blender Crash was introduced in rB48e48653c297, rB90f4ff95ed3a `image_sample_invoke` is used for both `IMAGE_OT_sample` and `IMAGE_OT_curves_point_set`. IMAGE_OT_curves_point_set didnt have property `size` defined... Now defines `size` for `IMAGE_OT_curves_point_set` as well Reviewers: brecht Maniphest Tasks: T63492 Differential Revision: https://developer.blender.org/D4675
2019-04-16Fix T63646: Box/Lasso select fails to de-selectCampbell Barton
Select 'New' wasn't de-selecting when there was nothing selected in some cases.
2019-04-16Cleanup: move motion paths into editors/animationCampbell Barton
Having this in blenkernel caused bad level calls to bf_editors_anim, causing tests that use 'blenkernel' to require almost all libraries. (complicating gtest linking & causing large binaries).
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-16CMake: cleanup, arg rename, add definitions lastCampbell Barton
2019-04-16Fix T63562: wrong viewport updates after editing group node socketsBrecht Van Lommel
2019-04-16Fix T63401: add Object (Without Inverse) to Set Parent menuPhilipp Oeser
Previously it was bound to a shortcut. Differential Revision: https://developer.blender.org/D4673
2019-04-16Fix T62849: crash entering particle edit mode with hair dynamicsBrecht Van Lommel
2019-04-16Fix T63439: too many 3D viewport redraws due to fading scrollbars.Brecht Van Lommel
Only redraw the regions, not the entire editor.
2019-04-15Fix T63598: "child of" constraint "set/clear inverse" ops not workingPhilipp Oeser
was missing DEG updates Reviewers: sergey Maniphest Tasks: T63598 Differential Revision: https://developer.blender.org/D4685
2019-04-15cleanup: typo in commentPhilipp Oeser
2019-04-15GPencil: New Dots gradientAntonioya
This commit adds support for drawing Dots strokes with a gradient factor to get artistic effects like watercolor. Currently, the option is only supported by Dots materials, and in the future will be added to line strokes, but now there is a limitation on drawing engine and we will keep disabled on Line materials. Also, added the option to align Dots and Boxes strokes textures aligned with the drawing path to get more fluid strokes.
2019-04-14Render: new material previewWilliam Reynish
* EEVEE support through irradiance volume and light probe. * New shader ball shape (designed by Robin Marin). * New cloth and liquid shapes, removed monkey. * Replace world sphere by toggle to use world for any shape. * Slight bevel on cube. * More subdivision for displacement preview. * Fixed and improved UV mapping for all shapes. * Material icon / asset preview now uses specified shape instead of always a sphere. So for example hair material can be displayed as hair. Ref T57683
2019-04-14Cleanup: fix compiler warnings.Brecht Van Lommel
2019-04-14UI: Remember the last display mode in file browserSharan Ranjit
See also T57688. Differential Revision: https://developer.blender.org/D4479
2019-04-14UI: Do not show full action rangeJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4563
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Dopesheet: enable Show Keyframes and Interpolation by default.Alexander Gavrilov
Make the option enabled by default, and enable it in old files, unless Show Extremes is enabled. However, suppress it for the Timeline, because its View menu doesn't include the option. Reviewers: billreynish, brecht Differential Revision: https://developer.blender.org/D4678
2019-04-14Gizmo: individual toggles for 3D view gizmosCampbell Barton
The popover for displaying gizmos now has options for empty, light & camera gizmos. Transform toggles are now checkboxes, which has the advantage that it's more obvious they can be mixed however changing from one to another now uses 3x clicks instead of a single click-drag action. We might need a faster way to switch between transform types.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-14Cleanup: move operator constants out of DNACampbell Barton
Also use doxy struct member references.
2019-04-13Gizmo: move transform to a persistent optionCampbell Barton
Based on feedback from animators, this is useful to keep as a view option (as in 2.7x). Now the transform gizmos can be enabled from the popover, the tools still work for location/scale/rotation. The transform tool has been removed. See T63518
2019-04-13Fix T37500: implement Bendy bone segment deformation interpolation.Alexander Gavrilov
Previously B-Bone deformation mapped every vertex to just one B-Bone segment. This results in abrupt transformation differences between the sides of each threshold plane, reducing the quality of B-Bone deformation and making the use of shape keys impractical. This commit replaces this approach with a linear blend between the two closest segment transformations, effectively representing the B-Bone as two weight-blended plain bones for each vertex. In order to distribute the interpolation more evenly along the bone, segment matrices for deformation are now computed at points between the segments and at the ends of the B-Bone. The computation also uses the true tangents of the Bezier curve for the orientation. The nodes at the end of the bone require some special handling to deal with zero-length Bezier handles caused by a zero ease value. The Copy Transforms constraint now also smoothly interpolates rotation and scaling along the bone shape when enabled. The initial version of the patch was submitted by @Sam200. Differential Revision: https://developer.blender.org/D4635
2019-04-13Cleanup: add View3D_Runtime structCampbell Barton
Also remove 'matcap_icon'
2019-04-133D View: move gizmo draw options out of overlaysCampbell Barton
Gizmo's now have their own popover in preparation for making transform gizmos accessible without having to use tools See: T63518
2019-04-13GPencil: Implement Opacity transformAntonioya
Add Shift+F to transform points opacity in Edit mode
2019-04-11Fix T63467: Edge/vertex selection isnt working properly with X-ray set to 1Sebastian Parborg
Edit mode shows the mesh elements in X-ray mode even if alpha is set to 1. Now the code takes this into account so that you can still select visible mesh elements in X-ray edit mode. view3d_draw_legacy need to be updated with the new XRAY flag macros to avoid crashes. Additional cleanup of the XRAY macro flags were done.
2019-04-11Fix 'static override' message showing in ID template tooltip.Bastien Montagne
We only want to show that when library overrides are enabled.
2019-04-11Cleanup: commentsCampbell Barton
2019-04-11Fix T63451: selected objects not highlighted in outliner scene view.Harley Acheson
Differential Revision: https://developer.blender.org/D4668
2019-04-10Annotations: Make all 2D editors locked to ViewAntonioya
Before, there was a hacky code for Image editor when the image was empty. Now, all 2D editors are locked to view and when you Move or Zoom, the stroke moves. This is a fix of T63402. Still pending if we add more options to 2D editors, but at least now, we have something consistent.
2019-04-10Keyframing: add operators that use keying-set ID'sCampbell Barton
Unfortunately we can't use insert/delete_keyframe operators in keymaps because the enums aren't known at the time of keymap registration and the keying sets are dynamic and use a poll function. Add a version of insert/delete operators that takes a string instead of an enum. Needed for D4626. Also extract int to keying-set into a utility function.
2019-04-10Fix T63455: Legacy GPencil settings in AnnotationsAntonioya
2019-04-10Cleanup: rename old -> versioningCampbell Barton
The term 'old' isn't very meaningful, follow naming for existing code that updates data.
2019-04-10Cleanup: spellingCampbell Barton
2019-04-10Cleanup: style, shadow warningCampbell Barton