Age | Commit message (Collapse) | Author |
|
Added a module bpy.utils.toolsystem which only exposes ToolDef,
to avoid scripts referencing bl_ui internals.
|
|
|
|
|
|
Only include description in docstring.
Also avoid using op_get_rna.
|
|
|
|
Getting the instance leaks memory and was only meant to be used for
generating docs.
|
|
Conflicts:
source/blender/blenkernel/intern/collision.c
|
|
Differential Revision: https://developer.blender.org/D3668
|
|
Remove bpy.utils.register_module() & logic tracked RNA classes.
|
|
Instead of running code to create a keymap, store them as data.
This allows for keymaps to share content as well as running
transformations at load time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is rather uncommon when operator will operate on a non-active view layer,
so there is no need to do full scene update.
This change solves lag first time using Extrude operator in edit mode.
|
|
|
|
|
|
|
|
|
|
Use dynamically generated message publish/subscribe
so buttons and manipulators update properly.
This resolves common glitches where manipulators weren't updating
as well as the UI when add-ons exposed properties which
hard coded listeners weren't checking for.
Python can also publish/scribe changes via `bpy.msgbus`.
See D2917
|
|
Split over lines to diff more easily.
|
|
Portable builds LOCAL files need to be
treated as system instead of using as a fallback to USER templates.
|
|
Avoids having boiler plate register/unregister functions.
|
|
|
|
Adds bpy.app.factory_startup,
used to check if user scripts should be loaded.
|
|
This simplifies creation of register, unregister functions that
simply forward calls submodules.
|
|
|
|
|
|
|
|
Moving to manual class registration means its easier to accidentally
miss registering classes.
Now detect missing class registration
and warn when running with `--debug-python`
|
|
This adds the ability to switch between different application-configurations
without interfering with Blender's normal operation.
This commit doesn't include any templates,
so its mostly to allow collaboration for the Blender 101 project
and other custom configurations.
Application templates can be installed & selected from the file menu.
Other details:
- The `bl_app_template_utils` module handles template activation
(similar to `addon_utils`).
- The `bl_app_override` module is a general module
to assist scripts overriding parts of Blender in reversible way.
See docs:
https://docs.blender.org/manual/en/dev/advanced/app_templates.html
See patch: D2565
|
|
Useful for Python module paths that can't start with numbers.
|
|
submodules in reload scenario.
reload case would clear TypeMap before unregistering addons, which made
all calls to unregister_module() to do absolutely nothing.
|
|
|
|
|
|
This was originally supported, however relative links to examples & templates made it fail.
Now files in the source tree are copied to the build-dir, with ".." replaced with "__"
to avoid having to mirror Blender's source-layout in the Sphinx build-dir.
Also skip uploading the built docs when an SSH user-name isn't passed to sphinx_doc_gen.sh
instead of aborting (so people w/o SSH access to our servers can use the shell-script).
|
|
BLENDER_SYSTEM_SCRIPTS wasn't included in bpy.utils.script_paths()
|
|
|
|
|
|
|
|
|
|
|
|
D1575 by @januz
|
|
|
|
Extensions such as ".tar.gz" are now also supported. Before this patch,
ensure_ext('demo.tar.gz', '.tar.gz') would return 'demo.tar.tar.gz'.
This results in issues with the `ExportHelper` mix-in class; clicking
an existing file in the file dialogue warns about overwriting it
(highlighting the input box in red), but then saves to a different
file.
Also added a unit test for the new behaviour.
Reviewers: mont29, campbellbarton
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D1498
|
|
|
|
D1444 by @lichtwerk, with minor fix & docstring updates
|
|
default_set argument is now False for both.
|