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-11-22Keymap: add popup keymapCampbell Barton
Allow manually mapping keys for the popup toolbar. Useful for tools that don't have immediate access, add transform, annotate & measure.
2018-11-22Cleanup: minor simplification of keyconfig mergeCampbell Barton
2018-11-22Cleanup: utility function to avoid duplicate keysCampbell Barton
2018-11-22Tool System: auto-assign A-Z keys for toolbar popupCampbell Barton
Assign keys based on tool name when they're free, allows: Space-T for Transform, Space-A for Annotate.
2018-11-22Fix toolbar popup keymap not allowing 'A' keyCampbell Barton
2018-11-22Tool System: Updates for keymap stored as stringCampbell Barton
2018-11-21UI: hide keymap preferences when filter is usedCampbell Barton
2018-11-21I18N: tweak some UI labels and tips.Bastien Montagne
2018-11-20Add option not to print debug/info in ngon_tessellate.Bastien Montagne
That func can be called a lot, generating a lot of noise in the console...
2018-11-20Theme: avoid right-shift in XML filesCampbell Barton
Use 2 space indent for attributes, ~20% smaller files.
2018-11-20Keymap: update addon register/unregister utilitiesCampbell Barton
Use the same data format and loader that the default key-maps use. This supports nested properties (needed for macros) and fixes modal key-maps which weren't supported. This format still needs to be documented.
2018-11-20Cleanup: move keymap hierarchy into own fileCampbell Barton
2018-11-20Cleanup: move toolbar keymap generation to bl_keymap_utilsCampbell Barton
The function is getting complicated, any refactoring would be best done outside of 'space_toolsystem_common'.
2018-11-20Cleanup: move bpy_extras.keyconfig_utils to own moduleCampbell Barton
bpy_extras were meant to be useful high-level helper functions for script authors to perform common operations, to avoid writing to verbose API's. bpy_extras.keymap_utils contains some specialized API calls mainly intended for Blender's own internal use. Move keymap import export to internal API.
2018-11-20UI: show keyconfig prefs directly under presetCampbell Barton
The keyconfig preset and it's preferences were too far apart, show the preferences under the preset in a collapsible box.
2018-11-18Cleanup: namingCampbell Barton
2018-11-18PyAPI: add bpy.utils.execfileCampbell Barton
Wraps `importlib.util`, avoids duplicate preset loading calls.
2018-11-16Fix related to T57851: broken normalmap handling in py shader wrapper.Bastien Montagne
Pretty stupid mistake...
2018-11-16Keymap: allow filling in existing key-configsCampbell Barton
Needed so we can get the preferences of a key-config which are sent to a function that generates the contents.
2018-11-16WM: fix hard coded renameCampbell Barton
Currently the filenames are used when setting keymaps. This hard coded naming meant the preset and setting function need to be kept in sync. Prefer to not have hard coded replacements which need to be duplicated.
2018-11-16Keymaps: replace select / action mouse systemBrecht Van Lommel
For Blender builtin configurations the option to choose the select mouse remains and is now also in the splash screen. It works by changing the keymap dynamically in the script, rather than using special events. The system of automatic switching of events was not flexible enough to deal with side effects that require further keymap changes, so it is now under more manual control in the script. This breaks compatibility for some scripts and exported key configurations. These can be fixed by replacing SELECTMOUSE, ACTIONMOUSE, EVT_TWEAK_S and EVT_TWEAK_A with appropriate LEFTMOUSE, RIGHTMOUSE, EVT_TWEAK_L and EVT_TWEAK_R events. Other than that, there should be no functional changes.
2018-11-15Fix node_shader_utils: "Specular Tint" is a float (not a color)Philipp Oeser
2018-11-15UI: remove node tree panelsCampbell Barton
This duplicates items in the add menu and uses a lot of vertical space. This should be used for tools or disabled.
2018-11-15WM: use Python bytecode cache to run presetsCampbell Barton
Key-maps can be very large, avoid parsing on every startup.
2018-11-15Keymap: remove keymap export that wrote API callsCampbell Barton
Use new keymap format which defines data to be loaded.
2018-11-15Tool System: use preset keymap loading logicCampbell Barton
The data structures for tool keymaps and presets were different, use the same structure and expose function publicly.
2018-11-14Py API Docs: documentation for gpu_extras.presetsJacques Lucke
2018-11-13Keymaps: refactor loading of default keymap, fix bugs.Brecht Van Lommel
This refactors loading of key configurations to clear and refill existing ones, rather than adding a new one and then removing the old one. This fixes broken loading of non-default configurations after recent changes, and prepares for future changes to make it possible to dynamically change key configurations based on user preferences.
2018-11-13Python GPU API: gpu_extras.presets.draw_texture_2dJacques Lucke
Review wasn't finished yet, but I just commit this for now so that I can make some progress.. Differential Revision: https://developer.blender.org/D3901
2018-11-12style fixJacques Lucke
2018-11-12Fix: draw_circle_2d not using the segment count from parameter listJacques Lucke
2018-11-11Fix T57776: Error when adding a Torus to the scene.Bastien Montagne
Not all Object.select_set() cases had been updated to new API... Tsst. ;)
2018-11-09Py API Docs: Warnings for some properties that are slower to access than ↵Jacques Lucke
expected.
2018-11-09Keymap: skip loading the keymap preset in background modeCampbell Barton
Caused a crash on exit and isn't needed.
2018-11-09Keymap: move builtin keymaps from C to PythonBrecht Van Lommel
This should be purely an implementation change, for end users there should be no functional difference. The entire key configuration is in one file with ~5000 lines of code. Mostly avoiding code duplication and preserve comments and utility functions from the C code. It's a bit long but for searching and editing it's also convenient to have it all in one file. Notes: - Actual keymap is shared by blender / blender_legacy and stored in `keymap_data/blender_default.py` This only generates JSON-like data to be passed into `keyconfig_import_from_data`, allowing other presets to load and manipulate the default keymap. - Each preset defines 'keyconfig_data' which can be shared between presets. - Some of the utility functions for generating keymap items still need to be ported over to Python. - Some keymap items can be made into loops (marked as TODO). See: D3907
2018-11-07Py API Docs: show gpu_extras moduleJacques Lucke
2018-11-06Fix/cleanup RNA viewlayer API.Bastien Montagne
RNA's ViewLayer would present 'first level' of layer collection as a list (collection property), when it is actually now only a single item, same as the scene's master collection. Note: did not try to update view_layer python tests, those are already fully broken for quiet some time I guess (they still assume view_layer.collections to be mutable e.g.)...
2018-11-01Merge branch 'master' into blender2.8Campbell Barton
2018-11-01Cleanup: move progress utility module into bpy_extrasCampbell Barton
Try avoid having too many toplevel modules with generic names.
2018-10-26Correction for Gizmo.draw_custom_shape utility APICampbell Barton
2018-10-26PyAPI: gpu utility module to create new batchesJacques Lucke
Support the common case of creating batches from python geometry, a shader and optionally indices. See D3779
2018-10-26Cleanup: minor change to last commitCampbell Barton
2018-10-26Update Gizmo.draw_custom_shape for API changesCampbell Barton
2018-10-26PyAPI: Make GPUVertFormat() argument optionalCampbell Barton
2018-10-25PyAPI: initial gpu_extras module (circle drawing utility)Campbell Barton
2018-10-24Fix T57366: Mesh.from_pydata invalid loose-edge stateCampbell Barton
2018-10-19Merge branch 'master' into blender2.8Campbell Barton
2018-10-19Fix error disabling all addonsCampbell Barton
2018-10-18PyAPI: Support for custom tool registrationCampbell Barton
Added a module bpy.utils.toolsystem which only exposes ToolDef, to avoid scripts referencing bl_ui internals.
2018-10-17node_shader_utils: Proper fix for node_normalmap accessor returning ellipsis ↵Bastien Montagne
value. Ellipsis value is internal ingredient only, to tag hidden _node_normalmap 'real' property as not yet initialized. Public node_normalmap accessor should never ever have that value, it's either None or a valid node!