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
2020-10-19Fix: skip drawing input sockets that do not have a draw methodJacques Lucke
Contributed by @povmaniaco with minor changes by me. Differential Revision: https://developer.blender.org/D9263
2020-10-03Fix issues with calling View2D zoom operators in an `EXEC` contextJulian Eisel
Multiple related issues: * `view_zoomdrag_exec()` required `view_zoomdrag_init()` to be called first to set up data. Can now easily be done in the `_exec()` function as well though. * Because of that the operators could not be called in an `EXEC_` context (e.g. `EXEC_REGION_WIN`). * With "Zoom to Mouse Position" enabled, zooming from a menu or script would zoom to the mouse position. That should only happen if the operators are called directly in the editor.
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-08-17UI: Only draw node menu search if categories existOmarSquircleArt
Currently, the search operator in the node add menu NODE_MT_add is drawn even if no node categories exists. This patch only draws the operator if at least one node category passes the poll. This patch is needed because some add-ons use custom search operator and do not register node categories. In this case, it is undesirable to have a search operator drawn that do nothing and is not used. One such add-on is Animation Nodes. Reviewed By: Jacques Lucke Differential Revision: https://developer.blender.org/D8576
2020-08-06UI: Fixes and small improvements to some labels and UI messagesYevgeny Makarov
Small tweaks to make labels and texts more correct, consistent and polished. Reviewed by: Aaron Carlisle, Julian Eisel Differential Revision: https://developer.blender.org/D8346
2020-08-03Fix missing shortcut indicators and crash on shortcut changeJulian Eisel
Fixes T78346. The shortcut display and change code is context sensitive. To make it work correctly the context needs to be set properly. When executing operators from the dropdowns, the active region is the header, but the shortcut handlers are set for the main region. So make sure that is used instead. This also sets the main region active for context menu operators, where this issue shouldn't be present. Doing it anyway shouldn't hurt though and fixes this issue in case somebody displays the context menu in the header as dropdown too.
2020-04-20Simulations: Embed simulation node tree in simulation data blockJacques Lucke
This adds an embedded node tree to the simulation data block dna. The UI in the `Simulation Editor` has been updated to show a list of simulation data blocks, instead of individual node trees. The new `SpaceNodeEditor.simulation` property wraps the existing `SpaceNodeEditor.id` property. It allows scripts to get and set the simulation data block that is being edited. Reviewers: brecht, mont29 Differential Revision: https://developer.blender.org/D7301
2020-03-18Objects: add Volume object type, and prototypes for Hair and PointCloudBrecht Van Lommel
Only the volume object is exposed in the user interface. It is based on OpenVDB internally. Drawing and rendering code will follow in another commit. https://wiki.blender.org/wiki/Source/Objects/Volume https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Volumes Hair and PointCloud object types are hidden behind a WITH_NEW_OBJECT_TYPES build option. These are unfinished, and included only to make it easier to cooperate on development in the future and avoid tricky merges. https://wiki.blender.org/wiki/Source/Objects/New_Object_Types Ref T73201, T68981 Differential Revision: https://developer.blender.org/D6945
2020-02-15Cleanup: incorrect __contains__ comparison, long lineCampbell Barton
2020-02-11Nodes: Add dynamic label support for Math NodesCharlie Jolly
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6375
2019-10-14UI: Add renaming to Node and VSE strip context menuJulian Eisel
We should have that consistently everywhere the operation is available.
2019-10-03UI: Add Buttons to Shader Editor Slots PopoverHans Goudey
Assign, select, deselect buttons added when in edit mode to complete the functionality of the shader editor vs. the properties panel. Reviewed by: brecht Differential Revision: https://developer.blender.org/D5768
2019-08-12Fix running space_node directlyCampbell Barton
Part of T65393
2019-07-29Fix T67331: Annotations: Rename old grease pencil panelsAntonioya
These panels were using the old names, but now they are not grease pencil, but annotations. Also removed old Tools panel. This must be replaced with new Toolbar
2019-07-28Cleanup: pep8Campbell Barton
2019-06-11Fix T65393: Error live editing UI scriptsCampbell Barton
Disable relative imports for UI scripts.
2019-06-05Fix T65492: make material slots popover widerJacques Lucke
2019-05-24Fix: Too many checks for the compositorWilliam Reynish
Check once as and then re-use
2019-05-24UI: Tweaks to Compositor headerWilliam Reynish
- Move Auto Render into Options panel in sidebar - Move Pin to the right and remove emboss - Move Background to the right and use greying out to avoid jumping UI elements Also remove emboss from pin toggle in Image Editor for consistency
2019-05-24Fix unnecessary decorators showing in compositor sidebarBrecht Van Lommel
2019-05-21Cleanup: pep8Campbell Barton
2019-05-19UI: use single column layout for image settings panelsBrecht Van Lommel
2019-05-17UI: add tool panel for node editor, use tabsCampbell Barton
This follows the 3D view, adding an "Options" tab.
2019-05-13I18n Disambiguation: "Add" in menu labels.Bastien Montagne
This one is usually a verb/action one in menus' labels, hence we give it the Operator default context. Part of T43295.
2019-04-20UI: remove redundant row for header templateCampbell Barton
If it's members need to be aligned the template can handle it.
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-04-18UI: move region toggling to propertiesCampbell Barton
Each space had separate operators, duplicating logic. Use RNA properties instead so adding the ability to toggle other region types (floating redo region for eg) doesn't need to have an extra operator per space type. It's also nicer to show a check-box for something which can be toggled.
2019-04-05Fix T60390: add Cycles texture node mapping settings to node editor sidebarBrecht Van Lommel
These were missing from the UI previously.
2019-03-25UI: Material slot selector for the shader editorCampbell Barton
D4583 by @HooglyBoogly
2019-03-17UI: add light/world settings in shader node editor.Brecht Van Lommel
Material was already there. Implementation was changed so it's just a single line of code to adapt a panel to the node editor.
2019-03-14Cleanup: unused importsCampbell Barton
2019-03-13UI: rename PresetMenu to PresetPanel, move to bl_ui.utilsCampbell Barton
Confusing to call a menu a panel when subclasses need to define panel specific variables. Avoid having bl_ui depend on bl_operator module too. Since this isn't an operator, add utils modules for shared types.
2019-03-12Cleanup: rename specials -> context_menuCampbell Barton
In keeping with convention to match code & UI naming. - No user visible changes. - Include 'menu' in the name since context is an overloaded term. - While a few of these are panels, from a user perspective they are still context menus.
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-01-30Cleanup: line lengthCampbell Barton
2018-12-20Correct error in last commitCampbell Barton
2018-12-20Fix context menu w/o an active objectCampbell Barton
Also remove special case when no items are selected, since this only has one or two menu items, one being the add menu which can be better accessed from the header or add shortcut. If the no-selection case is to have it's own alternate menu - it should be more complete before enabling.
2018-12-20Cleanup: styleCampbell Barton
2018-12-20Cleanup: remove intermediate menu drawing functionCampbell Barton
2018-12-18UI: Extend context menu to check current selectionWilliam Reynish
- This extends context menus, checking the selection in some cases to conditionally show operators. - When nothing is selected, add, paste .. etc are added to the menu. - Use columns when mixed mesh modes are used (vert/edge/face). - Move armature naming operators into sub-menu. See D4043
2018-12-17Merge branch 'master' into blender2.8Campbell Barton
2018-12-17Cleanup: use 'tool_settings' name everywhere in UI scriptsCampbell Barton
2018-12-14fix shader editor errors when showing world shader treePhilipp Oeser
probably an oversight in rBd40bffa17f6d Reviewers: brecht Differential Revision: https://developer.blender.org/D4079
2018-12-07UI: add material settings in shader editor sidebar.Lucas Boutrot
Differential Revision: https://developer.blender.org/D3926
2018-11-28Cleanup: quiet keymap float compare warningCampbell Barton
2018-11-28Cleanup: remove missing operator from UICampbell Barton
2018-11-27Tool System: use tools for node editorCampbell Barton
2018-11-23Cleanup: single quote enumsCampbell Barton
2018-11-22UI: First batch of fixing missing categories for panels.Bastien Montagne
2018-11-21UI: Icon and separator for Add Node (Search).Pablo Vazquez