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-01-09WM: add keymap.find_from_operator(...)Campbell Barton
2018-12-24Fix/cleanup another bunch of UI messages issues.Bastien Montagne
Also (mostly in comments): behaviour -> behavior (we use American English).
2018-12-12Keymap: event type filter w/ finding keymap itemsCampbell Barton
Now its possibly to ask for only keyboard/mouse/ndof events when finding key map items.
2018-12-04Fix T58474: Gizmo Operator template fails on rerunCampbell Barton
2018-12-01Cleanup: duplicate includeCampbell Barton
2018-11-28PyAPI: add KeyMapItem.to_string() methodCampbell Barton
Useful for generating dynamic tooltips that include shortcuts.
2018-11-23Keymap: add Keymap.keymap_items.new_from_itemCampbell Barton
Needed to copy keymap items from other keymaps.
2018-11-13Fix tool keymaps not working properly after recent changes.Brecht Van Lommel
Not sure this is the best fix, but this should be working. Regardless it seems good to tag active tool keymaps as such.
2018-08-31Merge branch 'master' into blender2.8Campbell Barton
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-08-28RNA: use required args for internal popup end APICampbell Barton
2018-07-15Cleanup: use variable names based on term gizmoCampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-03UI: optional ui-unit-width for popoversCampbell Barton
Some popovers don't fit well with the default width, allow panels to adjust as needed.
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09Cleanup: trailing space in RNACampbell Barton
2018-05-21Revert "Fix/workaround RNA build error in C++ API."Campbell Barton
This reverts commit 9f2ae547c0a4f8a230135423e163b22053251f1d. Args were reordered.
2018-05-21Merge branch 'master' into blender2.8Campbell Barton
2018-05-21Fix/workaround RNA build error in C++ API.Brecht Van Lommel
It seems output parameter needs to be the last one.
2018-05-21Merge branch 'master' into blender2.8Campbell Barton
2018-05-21Cleanup: correct variable namesCampbell Barton
2018-05-21Merge branch 'master' into blender2.8Campbell Barton
2018-05-21WM: utility to find a keymap item from an operatorCampbell Barton
Also RNA access to WM_keyconfig_update, needed when generating dynamic keymaps used in menus immediately after.
2018-05-20UI: support for custom keymaps for popoversCampbell Barton
2018-05-18Cleanup: comments, use negate_mat3_m4Campbell Barton
2018-05-03WM: add function to access last_propertiesCampbell Barton
2018-04-27WM: Add function to access last operator propsCampbell Barton
Needed for tool-settings to control options for a tool which has not yet been executed.
2018-04-22UI: Initial popover support for panelsCampbell Barton
- UILayout.popover(.. panel_type ..) A single panel - UILayout.popover_group(.. panel categories ..) Expands all panels matching args. Currently used in the topbar for redo and paint options.
2018-04-22Merge branch 'master' into blender2.8Campbell Barton
2018-04-22Cleanup: de-dup popup/pie menu RNA definitionCampbell Barton
Also rename pupmenu -> popmenu
2018-01-28Merge branch 'master' into blender2.8Campbell Barton
2018-01-26Docs: invoke_search_popup uses bl_propertyCampbell Barton
Also add code example in docs.
2017-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
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-06-26Manipulator: Python APICampbell Barton
Initial support for Python/Manipulator integration from 'custom-manipulators' branch. Supports: - Registering custom manipulators & manipulator-groups. - Modifying RNA properties, custom values via get/set callbacks, or invoking an operator. - Drawing shape presets for Python defined manipulators (arrow, circle, face-maps) Limitations: - Only float properties supported. - Drawing only supported via shape presets. (we'll likely want a way to define custom geometry or draw directly). - When to refresh, recalculate manipulators will likely need integration with notifier system. Development will be continued in the 2.8 branch
2017-03-14WM: add Operator.is_repeat() check for C & PyCampbell Barton
This addresses an issue raised by D2453 - that there was no way to check if operators are run multiple times in a row. Actions are still ignored that don't cause an UNDO event.
2016-12-12Refactor RNA property: split flags in property flags, parameter flags, and ↵Bastien Montagne
internal flags. This gives us 9 flags available again for properties (we had none anymore), and also makes things slightly cleaner. To simplify (and make more clear the differences between mere properties and function parameters), also added RNA_def_parameter_flags function (and its clear counterpart), to be used instead of RNA_def_property_flag for function parameters. This patch is also a big cleanup (some RNA function definitions were still using 'prop' PropertyRNA pointer, etc.). And yes, am aware this will be annoying for all branches, but we really need to get new flags available for properties (will need at least one for override, etc.). Reviewers: sergey, Severin Subscribers: dfelinto, brecht Differential Revision: https://developer.blender.org/D2400
2016-09-05Fix T35333: Update some WM/UI API functions docstrings.Bastien Montagne
Based on patch by @codemanx, but with slightly less verbose descriptions. More detailed behavior etc. rather belongs to doc/python_api/examples/bpy.ops.x.py imho.
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-10-26Fix broken comment about our WM progress report for python (its not a ↵Bastien Montagne
progress bar at all).
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-08-13RNA: use static declarationsCampbell Barton
2014-08-11Pie Menus C code backend.Antony Riakiotakis
This commit merges the code in the pie-menu branch. As per decisions taken the last few days, there are no pie menus included and there will be an official add-on including overrides of some keys with pie menus. However, people will now be able to use the new code in python. Full Documentation is in http://wiki.blender.org/index.php/Dev:Ref/ Thanks: Campbell Barton, Dalai Felinto and Ton Roosendaal for the code review and design comments Jonathan Williamson, Pawel Lyczkowski, Pablo Vazquez among others for suggestions during the development. Special Thanks to Sean Olson, for his support, suggestions, testing and merciless bugging so that I would finish the pie menu code. Without him we wouldn't be here. Also to the rest of the developers of the original python add-on, Patrick Moore and Dan Eicher and finally to Matt Ebb, who did the research and first implementation and whose code I used to get started.
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-01-16Code Cleanup: no need to pass empty strings as default valuesCampbell Barton
2013-11-27Fix T37249: Crash calling wm.progress_update() with no active windowCampbell Barton
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.