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-18Fix T63663: Object mode proportional editing affects objects which are ↵Sebastian Parborg
disabled for selection Objects which are not selectable are no longer affected by proportional transformations.
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17Cleanup: comment length in transformCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
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-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-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-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-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-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-13GPencil: Implement Opacity transformAntonioya
Add Shift+F to transform points opacity in Edit mode
2019-04-10Cleanup: spellingCampbell Barton
2019-04-09Cleanup: spellingCampbell Barton
2019-04-09Fix T62114: Wireframe mode selection: selects backside objects when clicking ↵Sebastian Parborg
frontside object in 3d-window Now the depth order of objects when trying to select them is only used when not in X-ray mode. Before, this was only the case in wireframe mode regardless of X-ray settings. I've also unified the usage of V3D_XRAY and XRAY_FLAG as they were basically copies of each other. Reviewed By: Clément Differential Revision: http://developer.blender.org/D4504
2019-04-08Fix T63340: Transform Snap Object: Simulate occlusion only when ↵mano-wii
`use_occlusion_test` is true. And cleanup.
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-03-25Gizmo: use fill select for scale/transform centerCampbell Barton
Resolves T58072
2019-03-25Gizmo: add option to move & dial gizmos to select as filledCampbell Barton
Draw as an outline while using solid selection.
2019-03-24Cleanup: redundant use of string formatting functionsCampbell Barton
2019-03-21Fix T62782: Edge slide crashes with mirror enabledCampbell Barton
2019-03-20Fix T62757: Mirror operator fails for non-modal executionCampbell Barton
Unlike most transform operators that use an orientation and values, Mirror uses the constraint axes to define which axes are mirrored. Now constraint axes are shown in this case. Other changes: - Use 'EXEC_DEFAULT' for mirror menu items. - Show mirror on local axis when not in edit-mode since this is useful in object mode too. - Remove mirror vertex groups since this is in the vertex group menu and this menu isn't currently used for general symmetry operators which are currently in other menus.
2019-03-18Fix T62684: Crash transforming w/ snap enabledCampbell Barton
2019-03-17GPencil: Cancel all transformations in Draw modeAntonioya
Actually, when you press G/R/S in Draw mode, the transformations can be done, but this is annoying in draw mode and must be captured an cancel. This patch capture the transformation and cancel it. Reviewed by @brecht
2019-03-16Fix ID user counting issues with NodeCustomGroup.Miguel Porces
User counting now happens before init() and after free() methods, so that the ID users are in a valid state when Python might modify them. ID user counting was moved into node.c and simplified. Patch by Miguel with further refactoring by Brecht. Ref D4370.
2019-03-15Tool System: use categories for tool identifiersCampbell Barton
Tools that come with Blender use 'builtin' or 'builtin_brush' prefix.
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-14Fix T62551: Limited Hair editing (no grab, scale, rotate)Sergey Sharybin
This is actually re-introduced T59963 which got broken by 6752022310b. Use less obscure recalc flag now.
2019-03-10Fix T62125: snapping not working if invisible object is between you and the ↵Sebastian Parborg
target If we were not in x-ray/wireframe mode, the snapping would treat all objects like they were in solid mode. This were not desirable if you had objects that were in wire or bounding box display mode. Now objects that are in bounding box mode is ignored (unless the object is in edit mode) and objects with wire display mode is treated as if they were in x-ray mode. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4493
2019-03-09Fix T61737: Gizmo refresh issueSebastian Parborg
When using a transform.select_orientation keyboard shortcut, the orientation change would not update the viewport. So if you had the move gizmo visible, it would not change transform orientation. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4386
2019-03-08Cleanup: spellingCampbell Barton
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Fix crash transforming image cursor outside of edit-modeCampbell Barton
2019-03-06Fix T62241: Repeat last translate, wrong directionCampbell Barton
Only use orientation value when the operator uses orientation axis. Own error in 03da3b6593a24
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-05Cleanup: minor adjustment to gizmo extrude setupCampbell Barton
No need to access both edit & active object.
2019-03-04GPencil: New extrude operatorAntonioya
Keymap: E - Extrude Gizmo supported. If the extrude points are the first or last of the stroke, the stroke is extended. If the extrude points are in the middle of the stroke, a new stroke is created because the grease pencil strokes can be only with 2 extremes and fold the stroke to get a new point gets very bad results. Still pending define a new icon. Also, it could be good to set by default XYZ axis in the gizmo. Note: There is a change in the transform_gizmo_extrude_3d.c gizmo for OB_MODE_EDIT_GPENCIL. This change must be undo when the mode will be integrated into OB_MODE_EDIT, but while we have both modes, we need to keep this code in order to keep running the gizmo.
2019-03-03DNA: rename BezTriple alfa to tiltCampbell Barton
2019-03-01Fix T62015: Duplicating object, rotating, pivot point not usedSergey Sharybin
Was caused by another fix in the area, and root to the wrong though that transformation is only initialized from a fully evaluated dependency graph. The latter one is not a case when changing transformation mode. Solved by copying transform to an evaluated object.
2019-03-01Fix flag on wrong object being modifiedSergey Sharybin
The intention was to disable constraints prior evaluation of the object. Spotted by Campbell, thanks!
2019-03-01Fix T62068: rotation incorrectly re-uses axisCampbell Barton
Regression in recent transform changes.
2019-03-01RNA: move cursor into own structCampbell Barton
Without this it's impractical to subscribe to any change to the cursor. Fixes T61969 by having gizmos update on any change to the cursor.
2019-03-01Comments: add comments for new transform struct members.Campbell Barton
2019-03-01Cleanup: minor improvements to transform comments.Campbell Barton
2019-02-28Fix missing NULL check in recent transform changesCampbell Barton
Caused bevel to crash.
2019-02-27Fix T62007: Dial 3d being drawn out of rotating tool.mano-wii
It was being drawn when any Gizmo was highlighted. There are several ways to solve this (creating a new parameter to the operator, checking the gizmos in the invoke or creating a global context). Also, for a micro-optimization, all of those conditions in the `drawDial3d` could be done once in the invoke. But since all of these changes involve changing the customdata (`TransInfo`), which is already a bit confusing with so many members, I thought it best to make minimal changes.
2019-02-27Transform: fix redo rotate adjusting orientationCampbell Barton
Regression in recent update. Also de-duplicate orientation matrix initialization.
2019-02-27Cleanup: remove redundant property assignmentCampbell Barton
Also cleanup comments
2019-02-27Transform: shear redo support for other orientationsCampbell Barton
Shear gizmo now uses a single orientation and sets different ortho axis instead of constructing a different matrix for each handle - allowing the redo panel to select orientations.