Campbell Barton
50e3cd0bb3
Keymap: option to export all keymaps
...
Useful to store a snapshot of the current keymap state
so changes to the default keymap are ignored.
Also useful for testing keymap export works properly.
2018-07-14 10:15:46 +02:00
Campbell Barton
43973410f3
Cleanup: use f-string for addon_utils
2018-07-14 09:30:59 +02:00
Campbell Barton
97cd8bfae1
Cleanup: isinstance can take multiple types
2018-07-07 11:29:57 +02:00
Campbell Barton
4b373ed086
Cleanup: pep8
2018-07-07 08:48:35 +02:00
Campbell Barton
969111f9b5
Cleanup: pep8
2018-07-03 22:35:37 +02:00
Campbell Barton
b66aa0b0a6
Cleanup: pep8
2018-07-03 06:48:44 +02:00
Campbell Barton
5c0d8bcdc7
Cleanup: use f-string
2018-06-30 09:25:23 +02:00
Campbell Barton
af36dd4664
Cleanup: trailing newlines
2018-06-29 08:02:49 +02:00
Campbell Barton
46dceefc35
WM: Remove Screen Cast
...
This feature is better handled by specialized tools.
2018-06-28 23:40:51 +02:00
Campbell Barton
420e379e99
Cleanup: de-dup popup/pie menu RNA definition
...
Also rename pupmenu -> popmenu
2018-04-22 10:49:45 +02:00
Campbell Barton
d416e56e70
Fix T54029: Wrong preset name display in win32
2018-02-26 19:05:01 +11:00
Campbell Barton
10fec1f153
Cleanup: Python code-style (addons, wm)
2018-02-01 13:58:44 +11:00
Campbell Barton
8d3efb2b90
Fix T53772: Presets don't support colons
2018-01-14 14:31:39 +11:00
Ray Molenkamp
433c74d9f7
bpy_extras: add missing colorband keymap to keyconfig_utils.py
...
fixes failing ctest script_load_keymap
2017-12-19 08:04:17 -07:00
Campbell Barton
4a734325f7
bl_app_override: support empty UI layout items
...
Returning None from ui_ignore functions creates empty labels,
allows removing items without breaking layout in some cases.
2017-12-08 12:57:25 +11:00
Campbell Barton
ad7fb1c028
Cleanup: Python imports
...
Split over lines to diff more easily.
2017-11-29 18:05:41 +11:00
Joshua Leung
fc77676f33
Bake Action operator: Added missing Bendy Bones support
2017-11-20 01:57:21 +13:00
Bastien Montagne
5fc1faa737
I18n: add Hausa languages, since we now have a few messages translated. ;)
2017-11-08 10:11:37 +01:00
Bastien Montagne
63482a5f2e
Fix T53002: Batch-Generate Previews generate empty or none image for large objects.
...
Camera clipping was left to default values, which won't work well for
very large (or small) objects. Now recompute valid clipping start/end
based on boundingbox of rendered data, and final location of camera.
2017-10-05 18:13:30 +02:00
Bastien Montagne
a22af1a84b
Fix i18n messages extraction script, and a few more UI messages...
2017-10-04 12:39:06 +02:00
Bastien Montagne
ad22d29dac
Some UI/messages fixes.
2017-10-03 21:32:46 +02:00
Joshua Leung
fde45132de
Fix T52861: Keymap editor filter doesn't show shortcuts using "+"
2017-09-21 16:35:47 +12:00
Gaia Clary
a3b8f98913
revert commit c0a7e9b6312d74 because it did not work as expected
2017-09-21 00:04:10 +02:00
Gaia Clary
c0a7e9b631
D2777: allow blank lines and lines with spaces/tabs in cut/paste
2017-09-20 22:48:38 +02:00
Bastien Montagne
f54f680a26
Fix T52842: Incorrect description for bpy.types.MeshTextureFace.uv
...
Tweak rna_info module to generate valid info also for multi-dimensional arrays.
2017-09-20 16:40:11 +02:00
Bastien Montagne
c4bbf1e4b0
Fix rna_info.py module, broken by recent changes in bpy.types presumably.
...
Hope fix is OK, seems to work with API generation script at least.
2017-09-20 16:40:11 +02:00
Campbell Barton
2aa2bec43a
Fix T52442: bl_app_templates_system not working
...
Portable builds LOCAL files need to be
treated as system instead of using as a fallback to USER templates.
2017-09-15 05:57:37 +10:00
Campbell Barton
bd1f946413
Recent action-bake used Py3.6 syntax
2017-09-14 17:04:41 +10:00
Campbell Barton
6d2cd1719b
Bake Action: operate on selected objects
...
Previously only the active object was used.
Use coroutines to support baking frames for multiple objects at once,
without having to playback the animation multiple times.
2017-09-10 17:16:47 +10:00
Campbell Barton
a4a59d578c
PyAPI: Add object argument to bake_action
...
Avoids having to set the scene's active object first.
2017-09-10 14:30:03 +10:00
Campbell Barton
11a9434c2d
Resolve T52687: Add node label shows as 'Unknown'
...
Add type access method, need to extend to other types
for now just get node UI working properly again.
2017-09-09 22:56:58 +10:00
Campbell Barton
daf7aed849
PyAPI: use bl_rna_get_subclass for node API
...
Returns a default value instead of an error when the type isn't defined.
2017-09-08 00:03:01 +10:00
Campbell Barton
5d65aee07a
Workaround node types not being exposed
...
We might want to have a utility function for this,
for now just keep it working.
2017-09-07 05:17:02 +10:00
Campbell Barton
b07e983b61
PyAPI: Add bpy.utils.register_classes_factory
...
Avoids having boiler plate register/unregister functions.
2017-09-05 00:24:29 +10:00
Campbell Barton
3789ab4166
PyAPI: fix rna_info for changes in type access
2017-09-04 16:39:13 +10:00
Campbell Barton
4003409430
Fix factory setup using user scripts path still
2017-07-27 22:22:26 +10:00
Campbell Barton
edc6bec9d6
PyAPI: Skip user scripts w/ factory-startup
...
Adds bpy.app.factory_startup,
used to check if user scripts should be loaded.
2017-07-25 20:52:08 +10:00
Campbell Barton
d1dc5e0a53
PyAPI: utility for creating register, unregister
...
This simplifies creation of register, unregister functions that
simply forward calls submodules.
2017-07-25 17:34:34 +10:00
Campbell Barton
7260a693e1
Cleanup: trailing space
2017-07-25 01:28:15 +10:00
Bastien Montagne
b5696f2799
Fix node UI not using translation context correctly.
...
Now that some node types may have custom context, we need to handle that
in the (convoluted :| ) UI code of nodes as well.
Reported in T43295 by Gabriel Gazzán (@gab3d), thanks.
2017-06-28 20:50:21 +02:00
Campbell Barton
00c4f49a6d
Cleanup: indentation, long lines
2017-06-12 13:38:21 +10:00
Sergey Sharybin
5489b40a5a
Report OpenSubdiv version Blender is compiled against
2017-06-07 12:16:48 +02:00
Bastien Montagne
8051f2412e
Usual i18n/message tweaks & fixes.
2017-05-28 21:47:16 +02:00
Campbell Barton
b5b72a3f29
PyAPI: don't re-register add-ons on 'New File'
...
Some add-ons have bugs with re-registration,
they should be fixed, but no need to exacerbate the problem.
2017-05-15 15:33:01 +10:00
Bastien Montagne
5a232039d5
Usual i18n/UI messages fixes and cleanup.
2017-04-24 09:33:49 +02:00
Bastien Montagne
42c8d93c5f
Fix 'API defined' ID properties still having 'remove' button in UI.
...
We could not edit them, but still could delete them, which makes no
sense, API-defined properties are similar to class members, removing
them from single instances is pure garbage. And it was broken anyway.
Found by @a.romanov while checking on T51198, thanks.
2017-04-19 09:54:47 +02:00
Bastien Montagne
1cd54ec225
Add helpers in bpy_extras.keyconfig_utils for addons to (un)register their keymaps.
...
Doing this in a fully 'clean' way is far from obvious, especially
unregister, you often end up leaving nasty 'orphanned' keymap items
referring to unregistered operators...
2017-04-08 11:09:11 +02:00
Campbell Barton
4c7f4e4662
PyAPI: minor path init simplification
2017-03-29 15:07:41 +11:00
Campbell Barton
4f69dca547
Fix 'bl_app_override' wrapping multiple times.
...
Calling `SomeClass.draw(self, context)` instead of `self.draw()`
would try to wrap the argument `self` multiple times, causing an error.
2017-03-29 14:31:14 +11:00
Campbell Barton
2a05292efa
Correct for Py3.5
2017-03-27 21:34:21 +11:00