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
2018-05-06Cleanup: transform manipulator filenameCampbell Barton
Use matching 2d/3d suffix.
2018-05-03Cleanup: remove axis bounds ifdefCampbell Barton
This was added for scale-cage manipulator, but seems generally useful.
2018-05-03Transform: expose 3D center/axis calculationCampbell Barton
This is needed for other manipulator placement.
2018-04-30Add NULL check for transform manipulatorCampbell Barton
Removes need for empty keymap
2018-04-27UI: add new transform tool that enables all widgetsCampbell Barton
Also add bevel tool.
2018-04-24Manipulator: Use evaluated object's matrix to get maipulator positionSergey Sharybin
With the clear separation between data and a state we need to make sure operators and other areas are readingstate from evaluated datablocks. Code-wise it means that all evaluated values are to be read from dataglock which is owned by dependency graph, using DEG_get_evaluated_id() or similar helper. Reviewers: brecht, mont29, campbellbarton, dfelinto Differential Revision: https://developer.blender.org/D3036
2018-04-23Manipulators/Tools: always draw a cursor while interactingInes Almeida
Cursor can be a system one or drawn with OpenGL. Before, dragging the transform manipulator would hide the cursor and reset it to the initial positon.
2018-04-23Manipulators: tweak plane distance in move manipulatorInes Almeida
2018-04-21Cleanup: styleCampbell Barton
2018-04-20UI: move manipulator to tool-systemCampbell Barton
Current manipulator now follows active tool.
2018-04-18Move transform orientation to sceneCampbell Barton
This was stored in the workspace, selected from the view. Move both to scene since custom orientations are closely related to your scene data.
2018-04-05Remove workspace object mode, reverts changes w/ 2.8Campbell Barton
This caused too many problems syncing object modes with multiple objects/windows/workspaces, see: D3130 for details.
2018-04-01Merge branch 'master' into blender2.8Campbell Barton
- Undo that changes modes currently asserts, since undo is now screen data. Most likely we will change how object mode and workspaces work since it's not practical/maintainable at the moment. - Removed view_layer from particle settings (wasn't needed and complicated undo).
2018-03-13Cleanup: doxygen commentsCampbell Barton
2018-02-13Object Mode: remove Scene.obeditCampbell Barton
Add ED_screen_window_find, BKE_workspace_edit_object
2018-02-09Cleanup: use workspace for object_mode when possibleCampbell Barton
2018-02-06Use eObjectMode for function argumentsCampbell Barton
2018-02-06Object Mode: use eval_ctx mode in transform codeCampbell Barton
This adds EvaluationContext into TransInfo
2018-01-28Cleanup: style, spellingCampbell Barton
2017-12-22Fix manipulators not updating when changing workspace view-layerJulian Eisel
There are more issues when changing view-layer (esp. with edit-mode).
2017-12-11Manipulator: make grab-cursor a manipulator flagCampbell Barton
As with operators, allow manipulators to grab the cursor. Previously this was enabled for all 3D manipulators.
2017-12-04WM: message bus replacement for property notifiersCampbell Barton
Use dynamically generated message publish/subscribe so buttons and manipulators update properly. This resolves common glitches where manipulators weren't updating as well as the UI when add-ons exposed properties which hard coded listeners weren't checking for. Python can also publish/scribe changes via `bpy.msgbus`. See D2917
2017-12-04Cleanup: whitespaceCampbell Barton
2017-11-27Manipulator: ignore depth-buffer for scale cageCampbell Barton
2017-11-23Cleanup: Rename ViewLayer *sl > ViewLayer *view_layerDalai Felinto
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-11-09Rename Scene macros back to their original _NEW less namesDalai Felinto
2017-10-27Hide transform widget when tool widget is usedCampbell Barton
2017-10-26Manipulator: Use object bound-box for scale cageCampbell Barton
Without this, scaling single objects wasn't working usefully.
2017-10-21Manipulator: name remove func's 'unlink_delayed'Campbell Barton
Name wasn't right since this only unlinks from manipulator maps.
2017-10-21Manipulator: move 'Scale Cage' to its own toolCampbell Barton
Was activated with the regular scale manipulator, move to own tool since they are different ways to access scale.
2017-10-09Manipulator: add cage3d scale widgetCampbell Barton
For now only show this when scale manipulator is active.
2017-10-07Cleanup: style, duplicate includesCampbell Barton
2017-09-26Cleanup: indentationCampbell Barton
2017-09-26Transform: add manipulator aligned boundsCampbell Barton
ifdef'd out for now
2017-09-26Merge branch 'master' into blender2.8Campbell Barton
2017-09-26Cleanup: remove bounds runtime data from sceneCampbell Barton
2017-09-20Manipulator: fix visibility check w/ 2-axis planesCampbell Barton
2017-09-20Cleanup: move 3d manipulators into an arrayCampbell Barton
2017-08-27Manipulator: support operator per-partCampbell Barton
A single manipulator could only assign a single operator to each part. Now each part can have it's own. Also modify 2D selection callback, 2D started at 1, 3D at 0. Now use -1 for unset value, start both at 0.
2017-08-24Manipulator: modal callback can now cancel & pass eventsCampbell Barton
Re-use operator return flags for manipulator modal & invoke, this means manipulators can allow navigation or other events to be handled as they run - see T52499
2017-08-15Cleanup/refactor: no new general arg-less macros enforcing var names please!Bastien Montagne
We do have an history of those pieces of evil in our code, would be nice to get fully rid of it, but at the very least let's not add more of them in new code. :)
2017-08-10Cleanup: don't abbreviate color w/ manipulator APICampbell Barton
2017-08-09Manipulator: Add function to calculate matrixCampbell Barton
Each manipulator was doing this slightly differently, use shared function which can optionally override each matrix.
2017-08-09Manipulator: grab3d - support for 2d viewsCampbell Barton
Also internal changes so arrow3d matches grab3d's behavior. Needed to add WM_MANIPULATOR_DRAW_OFFSET_SCALE flag so we can optionally apply offset in worldspace or screen scaled values.
2017-07-27Manipulator: remove namesCampbell Barton
They weren't used anywhere, both C & Py manipulators better assign to vars (no lookup needed).
2017-07-26Cleanup: typedef enumsCampbell Barton
Manipulator enum types are easy to confuse, use typedefs.
2017-06-26Manipulator: add optional properties argumentCampbell Barton
Needed for RNA/Py API
2017-06-23Manipulator: flip scale flag usageCampbell Barton
Naming was confusing, while technically correct - the result is no scaling (manipulator ignores zoom-level). Also remove 3D from name since this can be supported for 2D views too.
2017-06-21Manipulators: move settings to ID propertiesCampbell Barton
This makes manipulator access closer to operators, and allows Python access. This adds RNA for manipulators, but not Python registration yet. - Split draw style into 2x settings: `draw_style` (enum) & `draw_options` (enum-flag) - Rename wmManipulator.properties -> properties_edit, Use wmManipulator.properties for ID-properties. Note that this area of the API will need further work since manipulators now have 2 kinds of properties & API's to access them.