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-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-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-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-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-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-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-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-10Cleanup: 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-01Edit Mesh Selection: Clear out buffer that indicates out of bounds pixels.mano-wii
This prevents the use of uninitialized buffer. In addition, use `memset` instead of assigning in a loop.
2019-03-29GPU: Fix color difference when rendering to gpu_py_offscreenClément Foucault
Now we do the color management inside the Draw manager and output CM byte buffer.
2019-03-28Fix T63015: Crash when using circle select tool in lattice edit modeJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4608
2019-03-28Cleanup: add doxy sections to view3d_draw,headerCampbell Barton
2019-03-28Edit Mesh Selection: Clear buffer before using in glReadPixel.mano-wii
Areas out of bound are not written.
2019-03-27Fix T63017: selection via lasso does not work properly in X-ray.mano-wii
Probably missed in rB40f8ddf8297a.
2019-03-27GPencil: Remove legacy `ED_gpencil_draw_view3d` code.mano-wii
Differential Revision: https://developer.blender.org/D4598
2019-03-26DRW manager: Use existing viewport instead of creating a viewport in ↵mano-wii
DRW_draw_depth_loop.
2019-03-26Revert "DRW Manager: create and use new DRW_framebuffer_depth_read utility."Jeroen Bakker
This reverts commit 40f8f445a3f9b6bc24b58e45be46060cc36c0394. There are many paths that lead to uninitialized depth buffer where the depth read would fail. Fix T62965
2019-03-26Cleanup: style, use braces for editor/spacesCampbell Barton
2019-03-263D View: move deselect all logic into an optionCampbell Barton
This removes `VIEW3D_OT_select_or_deselect_all`, adding a deselect_all option to the `VIEW3D_OT_select` operator. - Add utility functions to simplify de-selecting all. - Return true from selection functions when they change the selection to avoid redundant updates. - Use arrays of bases when passing objects between selection utility functions since some users require bases. - Fix logical error in box selection that updated all objects after the first hit.
2019-03-26Cleanup: remove unused functionCampbell Barton
2019-03-25Cleanup: UI messages of copy/paste in 3DView.Bastien Montagne
Remove references to buffer or temp file, some other minor edits.
2019-03-25Copy/Paste: refactor to be able to paste any kind of IDs, by type.Bastien Montagne
This commit does not add anything new from user perspective, but make it possible to paste any kind of IDs, not only objects/collections. Will be used by new copy/paste in the outliner in next commit.
2019-03-23Fix auto sensor size for camera gizmoCampbell Barton
2019-03-22DRW Manager: create and use new DRW_framebuffer_depth_read utility.mano-wii
2019-03-21Fix clipboard copying collections when copying objects from 3DView.Bastien Montagne
This was inherited from 2.7x behavior with groups, but in 2.8 collections are also used as 2.7x layers, which turns to be a problem when pasting back clipboard content, since it would instantiate collections instead of objects, quickly leading to tens of new collections in the viewlayer... Instead, we only copy selected objects from the 3DView now. On paste time, those will be added to the active collection. Last part of fixes related to T61670.
2019-03-20Cleanup: styleCampbell Barton
2019-03-20Preferences: add threshold for cursor motionCampbell Barton
A hard coded threshold was used to ignore cursor motion, make this a preference since tablet users may want to increase it since a pen hovering isn't as easy to keep still as a mouse. Resolves T56278
2019-03-20Cleanup: un-indent NDOF operator bodyCampbell Barton
This was needed for C89 compatibility, avoid having most of the operator logic in an else block.
2019-03-20Cleanup: Use doxy groups for NDOF operatorsCampbell Barton
2019-03-20Error in last commitCampbell Barton
2019-03-20Fix T62682: Inconsistent NDOF camera auto-keyCampbell Barton
Some view operations auto-keyed when locking the camera to view but some NDOF operators didn't yet support it. Auto key during animation playback for recording camera motion.
2019-03-203D View: snap cursor to world origin now resets rotationCampbell Barton
2019-03-19Fix T62749: random mesh selection crashes.Brecht Van Lommel
This was an off-by-one error in the initialization of tbuf, but refactored the code a bit more to be less obscure.
2019-03-19UI: scale cursor motion threshold by DPICampbell Barton
This was using hard coded values of 2-3px. Move both drag and motion thresholds to defines.
2019-03-19Fix view selected ignoring all non-grease pencil objectsCampbell Barton
When the grease pencil was active no other objects were taken into account. There is no need for a special case here since objects bounding boxes are used.
2019-03-19Cleanup: comment blocksCampbell Barton
2019-03-18Fix T56183: flip matcap not working for workbench as render engine.Brecht Van Lommel
2019-03-17Cleanup: improve comments.mano-wii
2019-03-17ED View3d: Fix possible bug when subtracting unsigned ints.mano-wii
Related to rB681661dbed12.
2019-03-16Cleanup: use return args lastCampbell Barton
2019-03-16Silence warning from recent GPU simplify commitDalai Felinto
Said commit introduced warnings and build problens. Let's be more careful in the future. Warnings are not to be treated lightly either.
2019-03-16Fix compiling after last commitJens Verwiebe
2019-03-15GPU: Simplify select shaders.mano-wii
The shaders are: `GPU_SHADER_3D_FLAT_SELECT_ID` and `GPU_SHADER_3D_UNIFORM_SELECT_ID`. This commit allows the drawing of the mesh select ids to be done on a 32UI format texture. This simplifies the shader that previously acted on the backbuffer and had to do an uint to rgba conversion. Differential Revision: https://developer.blender.org/D4350
2019-03-15Fix T59155: Can't select light in-front of other objectsCampbell Barton
Enable depth picking by default. This adds new 'gpu_flag' since it's not so relevant to add GPU drawing options into uiflag & uiflag2. This resets the recently added smooth edge flag.
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.