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-09-26WM: clean up cursors constants and codeBrecht Van Lommel
There was a mix of old and new constants. Now have one list of WM_CURSOR_* cursor types, using GHOST standard cursors when available and otherwise falling back to our custom cursors. Ref D5197
2019-06-11Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.Bastien Montagne
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).
2019-05-20WM: add wmGenericUserData utility structCampbell Barton
Useful to have a generic user data with an optional custom free function, use for wmGesture.
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-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-24Fix T60816: Specify subtype for some properties of mesh operatorsJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4248
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-18Gizmo: de-duplicate poll logicCampbell Barton
Checking the active tool or operator was a common way to check if the gizmo was still in use.
2018-09-17Cleanup: rename gizmo group dataCampbell Barton
Abbreviate to 'ggd', replacing manipulator reference.
2018-09-06UI: rename Translate/Grab to Move in UI, shortcuts stay the same.Brecht Van Lommel
2018-08-22Multi-Object-Editing: bisect supportDalai Felinto
2018-07-15Cleanup: use variable names based on term gizmoCampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-15WM: rename files, manipulator -> gizmoCampbell Barton
Edit doxy files and header guards only.
2018-07-13Fix T55920: viewport "navigate" shows on transformCampbell Barton
2018-07-11Manipulator: changes for overlay optionsCampbell Barton
There are now 3 categories in the overlay popover: - Navigation - Active (camera, lamp... etc) - Tool (manipulator) The user preference for mini axis now controls if the mini axis displays minimal or a full-interactive widget. Part of design: T55863
2018-06-28Merge branch 'master' into blender2.8Campbell Barton
2018-06-27Cleanup: styleCampbell Barton
2018-06-26Merge branch 'master' into blender2.8Campbell Barton
2018-06-26UI: move modal operator text from headers to status bar.Brecht Van Lommel
Python API is context.workspace.status_text_set()
2018-06-26UI: Add/Update bad tooltipsAaron Carlisle
Part of T51061
2018-05-08Orientation for 3D cursorCampbell Barton
Currently set when setting the cursor location, optionally used as an orientation type. Intended for use by tools too. See: D3208
2018-04-20UI: move manipulator to tool-systemCampbell Barton
Current manipulator now follows active tool.
2018-04-02Merge branch 'master' into blender2.8Campbell Barton
2017-10-21Manipulator: name remove func's 'unlink_delayed'Campbell Barton
Name wasn't right since this only unlinks from manipulator maps.
2017-10-19Fix operators adding manipulators multiple timesCampbell Barton
Running spin or bisect twice in a row added widget groups each time.
2017-08-21Cleanup: rename manipulator API functionsCampbell Barton
- WM_manipulatorgrouptype_remove- > free - WM_manipulator_group -> WM_manipulator_group_type Naming here is still a bit confusing, now at least free/remove are differentiated.
2017-08-15Manipulator: grab3d use own vars to store offsetCampbell Barton
Was complicating general use case, also support for transforming with matrix_space set. Add matrix_space support for manipulator_window_project_2d too.
2017-08-10Manipulator: rename grab enumCampbell Barton
We'll want some 3D shapes, so name existing shapes 2D
2017-08-09Manipulator: replace hard coded color w/ themeCampbell Barton
2017-07-27Manipulator: remove namesCampbell Barton
They weren't used anywhere, both C & Py manipulators better assign to vars (no lookup needed).
2017-06-26Manipulator: use 'void *' for callback data argsCampbell Barton
Non-float properties should be editable too.
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-23Manipulator: rename struct membersCampbell Barton
Rename: - matrix -> matrix_basis - user_scale -> scale_basis - scale -> scale_final Match RNA names being added to custom-manipulator branch.
2017-06-22Manipulator: target property definitionsCampbell Barton
Changes from custom-manipulator branch. - use property type definitions. - add property free callback. - move properties into the wmManipulator struct (over alloc). - use array length from property types instead of arg passing.
2017-06-21Manipulator: edit_properties -> target_propertiesCampbell Barton
Naming was too confusing between properties of a manipulator and properties it edits.
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.
2017-06-19Cleanup: quiet warningsCampbell Barton
2017-06-19Manipulator: de-duplicate flags and scale optionCampbell Barton
2017-06-18Manipulator: use matrix for manipulator directionCampbell Barton
Remove type-specific axis functions.
2017-06-17Manipulator: use matrix instead of originCampbell Barton
This avoids having to use manipulator-type specific functions to set the orientation. And will make it simpler to access transformation from Python. Currently the matrix is still used as an offset in places. Also per-type orientation values still need to be removed.
2017-06-17Manipulator: draw options for dialCampbell Barton
- Option to start helper angle lines based on a vector instead of the initial mouse coords (useful for bisect & spin). - Option to show 2x helper lines useful when dial is used to rotate an axis value.
2017-06-17Manipulator: Ignore zoom-level for on-screen widgetsCampbell Barton
2017-06-17Manipulator: remove type specific 'new' functionsCampbell Barton
Instead use generic 'WM_manipulator_new', adding a new 'setup' callback (like wmManipulatorGroup.setup) used to initialize type vars. This moves conventions closer to wmOperator and simplifies exposing to Python.
2017-06-16Manipulator: initial manipulator for spin operatorCampbell Barton