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-02-13Py API: Add `orphans_purge` helper to `bpy.data`.Bastien Montagne
Much more convinient than trying to use outliner operator...
2020-02-04Fix T58842: Add-ons Import/Export entries disapear when enabling FilterPhilipp Oeser
Addons option This removes the 'use_owner' option feature from rB61c8ed40f5df. (this wasnt working well when addons are enabled and when switching workspaces) Now Addon filtering is just bypassed for Import/Export menus. (by introducing/setting bl_owner_use_filter = False) Maniphest Tasks: T58842 Differential Revision: https://developer.blender.org/D6740
2019-10-15Fix T70590: Python Gizmo API misses opacity & anti-aliasingCampbell Barton
Thanks to @mano-wii for finding root cause.
2019-10-10Fix T70617: mesh.from_pydata() misses first edge if there are facesCampbell Barton
2019-10-09Cleanup: typo, styleCampbell Barton
2019-10-09Docs: clarify Mesh.from_pydata edges argument usageCampbell Barton
Addresses T70617
2019-10-08UI: support passing a function to WorkSpace.status_text_set()Campbell Barton
This allows Python operators to draw icons and other UI elements into the status bar.
2019-09-16Revert "PyAPI: expose OperatorType.modal_keymap"Campbell Barton
This reverts commit b53ee963b16d817a6367bd7c73b866036868b2e2. Full support for defining modal enums and access through events is more involved, revert for now.
2019-09-16Cleanup: use fixed indent in PythonCampbell Barton
Reduce right-shift.
2019-09-16PyAPI: expose OperatorType.modal_keymapCampbell Barton
Support assigning modal keymaps once the operator is registered.
2019-09-11Armature: convert the length Python property of bones to a RNA property.Alexander Gavrilov
This allows accessing it from drivers and using it in UI, as demonstrated by adding it to the transform panel of 3D View. As an aside, properly mark transform-related properties of Bone read-only, as they can only be changed correctly in edit mode.
2019-07-30UI: add use_button option to popoversCampbell Barton
This is useful when popovers are launched from operators instead of as button popover types. Where the connection between the button and the popover is useful to keep.
2019-07-28Cleanup: pep8Campbell Barton
2019-07-08Fix T61401: Failure to register a `GizmoGroup` after unregistering itmano-wii
It does not seem right to rely on the python code to fix problems in the C code. But this already works like this with the other Python Classes.
2019-07-08Revert "Fix T61401: Failure to register a `GizmoGroup` after unregistering it"mano-wii
Problems with ClangFormat This reverts commit c1bcde0c0feaf8bcfbd3664a52c50611806538ac.
2019-07-08Fix T61401: Failure to register a `GizmoGroup` after unregistering itmano-wii
2019-05-09Cleanup: unused args/vars/imports in modulesCampbell Barton
2019-04-21Fix T63764: error when using library.users_id() functionBrecht Van Lommel
Fix suggested by Vilem Duha.
2019-04-18PyAPI: remove support for importing text blocks as modulesCampbell Barton
Allowing direct import of text blocks isn't especially useful, instead add `text.as_module()` script authors can do this explicitly if it's needed. Now the text "Register" option executes instead of loading as a module. This removes the need to keep track of the current Main, and C code to override Python's import & reload.
2019-02-07Fix object.users_collection not including scene collections.Brecht Van Lommel
2019-01-16Expose batch IDs deletion in python API.Bastien Montagne
Follow-up to previous commit.
2018-12-20Fix T58937: Appended menus to VIEW3D_MT_editor_menus are not displayedCampbell Barton
2018-12-04Fix error reloading scriptsCampbell Barton
Operator.is_registered needs to use RNAMeta class.
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-09Py API Docs: Warnings for some properties that are slower to access than ↵Jacques Lucke
expected.
2018-10-26Correction for Gizmo.draw_custom_shape utility APICampbell Barton
2018-10-26Cleanup: minor change to last commitCampbell Barton
2018-10-26Update Gizmo.draw_custom_shape for API changesCampbell Barton
2018-10-24Fix T57366: Mesh.from_pydata invalid loose-edge stateCampbell Barton
2018-10-10Python API: add loop triangles access, remove tessfaces.Brecht Van Lommel
Loop triangles are tessellated triangles create from polygons, for renderers or exporters that need to match Blender's polygon tesselation exactly. These are a read-only runtime cache. Tessfaces are a legacy data structure from before Blender supported n-gons, and were already mostly removed from the C code. Details on porting code to loop triangles is in the release notes. Differential Revision: https://developer.blender.org/D3539
2018-10-08UI: new icon set by Andrzej Ambroz.Brecht Van Lommel
This is a monochrome icon set, with a more modern look and icons for various features that did not have a proper icon before.
2018-09-07RNA: update gizmo API for changes in BlenderCampbell Barton
- gpu module renamed. - make gizmo.new() take type as a required argument.
2018-09-04UI: icon keyword argument to popmenu_begin__internalAleksandr Zinovev
2018-08-28RNA: use required args for internal popup end APICampbell Barton
2018-08-28UI: text keyword argument to labelCampbell Barton
Prepare for keyword only args
2018-08-12PyAPI: update scripts for matrix multiply operatorCampbell Barton
Operators: - add torus - align objects - bake physics - make dupli faces - smart project Templates: - 3D view ray cast Other: - Methods for bones/edit-bones
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-15WM: rename manipulator to gizmo in Python APICampbell Barton
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-12PyAPI: remove bpy.utils.register_moduleCampbell Barton
Remove bpy.utils.register_module() & logic tracked RNA classes.
2018-07-11PyAPI: Use annotations for RNA definitionsCampbell Barton
- Logical use of fields since they define type information. - Avoids using ordered-dict metaclass. Properties using regular assignments will print a warning and load, however the order is undefined.
2018-07-06UI/Python: rename Lamps to Lights, to follow more standard terminology.Brecht Van Lommel
Internally it's still mostly named lamps, though some modules like Cycles were already calling them lights.
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-03Cleanup: pep8Campbell Barton
2018-07-02UI: align header menus to space them closelyCampbell Barton
2018-06-13UI: preset popover buttons in panel headers.Brecht Van Lommel
Moves the preset into a menu for the panel header, so it can be changed without opening the panel and takes up less space. Two remaining issues: * For long lists the add new preset button can be scrolled off screen. * We should support showing the name of the chosen preset in the panel header, but the current preset system does not support detecting which preset is used. Differential Revision: https://developer.blender.org/D3366
2018-05-20UI: support for custom keymaps for popoversCampbell Barton
2018-05-18Fix popover args when called from PythonCampbell Barton
2018-05-18Collections and groups unificationBrecht Van Lommel
OVERVIEW * In 2.7 terminology, all layers and groups are now collection datablocks. * These collections are nestable, linkable, instanceable, overrideable, .. which opens up new ways to set up scenes and link + override data. * Viewport/render visibility and selectability are now a part of the collection and shared across all view layers and linkable. * View layers define which subset of the scene collection hierarchy is excluded for each. For many workflows one view layer can be used, these are more of an advanced feature now. OUTLINER * The outliner now has a "View Layer" display mode instead of "Collections", which can display the collections and/or objects in the view layer. * In this display mode, collections can be excluded with the right click menu. These will then be greyed out and their objects will be excluded. * To view collections not linked to any scene, the "Blender File" display mode can be used, with the new filtering option to just see Colleciton datablocks. * The outliner right click menus for collections and objects were reorganized. * Drag and drop still needs to be improved. Like before, dragging the icon or text gives different results, we'll unify this later. LINKING AND OVERRIDES * Collections can now be linked into the scene without creating an instance, with the link/append operator or from the collections view in the outliner. * Collections can get static overrides with the right click menu in the outliner, but this is rather unreliable and not clearly communicated at the moment. * We still need to improve the make override operator to turn collection instances into collections with overrides directly in the scene. PERFORMANCE * We tried to make performance not worse than before and improve it in some cases. The main thing that's still a bit slower is multiple scenes, we have to change the layer syncing to only updated affected scenes. * Collections keep a list of their parent collections for faster incremental updates in syncing and caching. * View layer bases are now in a object -> base hash to avoid quadratic time lookups internally and in API functions like visible_get(). VERSIONING * Compatibility with 2.7 files should be improved due to the new visibility controls. Of course users may not want to set up their scenes differently now to avoid having separate layers and groups. * Compatibility with 2.8 is mostly there, and was tested on Eevee demo and Hero files. There's a few things which are know to be not quite compatible, like nested layer collections inside groups. * The versioning code for 2.8 files is quite complicated, and isolated behind #ifdef so it can be removed at the end of the release cycle. KNOWN ISSUES * The G-key group operators in the 3D viewport were left mostly as is, they need to be modified still to fit better. * Same for the groups panel in the object properties. This needs to be updated still, or perhaps replaced by something better. * Collections must all have a unique name. Less restrictive namespacing is to be done later, we'll have to see how important this is as all objects within the collections must also have a unique name anyway. * Full scene copy and delete scene are exactly doing the right thing yet. Differential Revision: https://developer.blender.org/D3383 https://code.blender.org/2018/05/collections-and-groups/
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.