Campbell Barton
b54b4eee3b
UI: expose soft limits to custom-property editor
...
Internally custom-id-properties used soft-limits, but there was no way to edit these.
2016-02-24 02:54:48 +11:00
Campbell Barton
7f4850fbc5
Update add-on descriptions
...
Also replace addon -> add-on
2016-01-11 20:30:23 +11:00
Campbell Barton
3ad1e4fab9
addon_utils: improve docstrings
...
Also make error handler take the exception as its argument.
2016-01-07 23:33:51 +11:00
Campbell Barton
60c0c47dba
Save sys-info to file instead of a text block
...
The main reason for this change is this file is typically used when making bug reports,
its best if users attach this file to reports directly.
2016-01-07 00:24:33 +11:00
Campbell Barton
80a76030ae
Improve system info tip
2016-01-03 23:24:00 +11:00
Campbell Barton
f81d8e7fe1
Add wrap argument to cycle wm utility funcs
...
Now zooming text in the console and text editor isn't wrapping from large/small font size (annoying).
2015-12-18 16:17:13 +11:00
Bastien Montagne
06ef778e08
Fix T46699: copy_prev_settings() gives misleading error message when previous version's config dir doesn't exist.
2015-11-05 11:10:49 +01:00
Campbell Barton
0d568e4186
Fix T46048: Custom properties UI redraw issue
...
Adding/removing custom properties didn't refresh elsewhere in the UI.
2015-09-11 04:29:31 +10:00
Campbell Barton
1c81bcffde
addon_utils default mismatch /w enable/disable
...
default_set argument is now False for both.
2015-06-14 05:14:43 +10:00
Campbell Barton
0446c73c4a
WM: toggling expanded could raise exception
...
Missing module case wasn't checked for.
2015-06-10 19:33:38 +10:00
Campbell Barton
99fba34b8d
rename wiki -> manual
2015-06-08 11:34:07 +10:00
Campbell Barton
5e1eb8cdcf
Cleanup: rename GRAB_POINTER -> GRAB_CURSOR
...
Term pointer is overloaded already.
2015-04-27 18:58:53 +10:00
Campbell Barton
1c329af74c
Fix T44026: ID prop delete leaves names in _RNA_UI
2015-03-26 00:12:28 +11:00
Campbell Barton
7095f47665
cleanup: pep8
...
also remove empty class parenthesis
2015-01-29 15:35:06 +11:00
Campbell Barton
e17c6f79a5
cleanup: py imports
2015-01-28 16:50:51 +11:00
Campbell Barton
3ff3f563e5
PyAPI: don't adjust prefs when an fails to load
...
Recent addons commit meant that addons would be enabled even if they weren't found.
This would give an error (which is fine), but also remove from preferences.
2015-01-23 21:18:35 +11:00
Campbell Barton
0e0e528ea4
Cleanup: pep8
2014-09-17 18:36:17 +10:00
Campbell Barton
7728ffa16c
Fix T41431: Min/Max custom property range mismatch
2014-08-14 11:29:22 +10:00
Campbell Barton
14d9e46977
UI: edits to pie-menu-enum
...
- avoid eval
- report if operator is missing
2014-08-14 07:40:19 +10:00
Antony Riakiotakis
b30ac75f8c
Add custom property to previous commit, name "Context" of that property
...
was misleading.
2014-08-13 14:22:35 +02:00
Antony Riakiotakis
95da9347b5
Bring back python operator for pies on a certain operator property.
2014-08-13 14:04:49 +02:00
Antony Riakiotakis
028fd29eeb
Pie Menus C code backend.
...
This commit merges the code in the pie-menu branch.
As per decisions taken the last few days, there are no pie menus
included and there will be an official add-on including overrides of
some keys with pie menus. However, people will now be able to use the
new code in python.
Full Documentation is in http://wiki.blender.org/index.php/Dev:Ref/
Thanks:
Campbell Barton, Dalai Felinto and Ton Roosendaal for the code review
and design comments
Jonathan Williamson, Pawel Lyczkowski, Pablo Vazquez among others for
suggestions during the development.
Special Thanks to Sean Olson, for his support, suggestions, testing and
merciless bugging so that I would finish the pie menu code. Without him
we wouldn't be here. Also to the rest of the developers of the original
python add-on, Patrick Moore and Dan Eicher and finally to Matt Ebb, who
did the research and first implementation and whose code I used to get
started.
2014-08-11 11:02:26 +02:00
Campbell Barton
2dce13d213
Python: Remove deprecated uses of os.popen
...
T40415 by Lawrence D'Oliveiro
2014-06-20 02:00:46 +10:00
Campbell Barton
a15be34389
Code cleanup: unused python vars & imports
...
Use frosted rather then pyflakes
2014-04-25 05:36:16 +10:00
Campbell Barton
d2548f561c
WM: hide screen management and ndof operators from seach popup
2014-02-26 13:48:41 +11:00
Campbell Barton
24e1ce25d1
Use string escaping when renaming custom properties
2014-02-25 16:49:14 +11:00
Campbell Barton
c9233bfd82
Code cleanup: style
2014-02-19 08:02:59 +11:00
Campbell Barton
bd89528a5e
Code cleanup: replace WM_OT_ndof_sensitivity_change -> WM_OT_context_scale_float
...
also increase maximum sensitivity
2014-02-12 21:05:24 +11:00
Brecht Van Lommel
6d6bb2d130
Fix T38145: python error popup when pressing shift+Z in blender game mode.
2014-01-11 00:59:22 +01:00
Bastien Montagne
51f5c994e9
Fix T37103: Keyframing custom properties issue (FCurve would not reflect Custom props type changes).
...
Add an helper func to re-compute integer-only fcurve flags, and call it when editing custom props.
Reviewed by aligorith, thanks!
Summary: Proposal fix for "keyframing custom properties issue" (T37103).
Reviewers: aligorith
Maniphest Tasks: T37103
Differential Revision: http://developer.blender.org/D111
2013-12-17 09:51:27 +01:00
Mitchell Stokes
1ce5978805
BGE: Fix to allow render options such display framerate and profile to work
...
when launching the Blenderplayer from Blender.
This bug was reported and fixed by SolarLune.
2013-10-16 17:54:12 +00:00
Bastien Montagne
3ccb370d38
Usual UI messages fixes...
2013-09-30 19:30:56 +00:00
Campbell Barton
20047e776f
fix [ #36835 ] Removing an addon has strange behavior
2013-09-30 10:02:34 +00:00
Campbell Barton
b21b24573d
lots of operator descriptions were incorrectly copy/pasted.
...
update some descriptions, others were removed and operators tagged as internal.
add a script to detect duplicate operator descriptions.
2013-09-30 05:50:41 +00:00
Campbell Barton
fbeeec7bd0
starting blenderplater wasnt flipping use_deprecation_warnings when it should, also use values directly without converting to ints.
2013-09-06 02:50:28 +00:00
Daniel Stokes
8f3b4a77ef
BGE Fix: [ #32360 ] Standalone Player switches not working
...
Launching the player from the Blender UI now makes use of the "Debug Properties", "Framerate and Profile", and "Deprecation Warnings" options by setting the appropriate command line flags.
2013-09-05 23:09:14 +00:00
Campbell Barton
73068ca3df
use os.remove rather then unlink (the same but all other areas use 'remove')
2013-08-29 06:02:19 +00:00
Mitchell Stokes
dea537fd68
BGE: The WM_OT_blenderplayer_start addon now saves a copy of the current blendfile with a trailing '~' to keep paths intact. An unsaved file will still go to the tmp directory. This file is deleted when the blenderplayer process exits.
2013-08-29 04:31:55 +00:00
Lukas Toenne
771906bc09
Fix for #36387 , User Preferences "Addons" panel bogs down the whole interface.
...
The addons panel draw function calls addon_utils.modules() which in turn retrieves a list of fake modules from the script paths every time. This can become costly when network paths are included for
addons. Solution is to put the scanning process into a dedicated "refresh" function and disable it in frequently called draw and filter functions, i.e. in these cases the cached addons_fake_modules list
will be used instead.
Note that this may lead to invalid addon lists if script paths are changed (which is not working 100% without restart anyway according to Campbell). For this there is now a "Refresh" operator button in
the addons preferences. If necessary and feasible such forced refreshes can be added later too.
2013-08-28 06:36:54 +00:00
Campbell Barton
b1a0dc6630
quiet error installing an addon when the directory already exists (would happen on OSX frequently),
...
the addon would install but error was misleading.
2013-08-20 14:43:01 +00:00
Campbell Barton
52e083fc3f
remove dummy menu which WM_OT_context_menu_enum needed, use popup menu directly instead.
2013-07-06 03:04:48 +00:00
Campbell Barton
ffaebe2237
reduce imports on startup
2013-07-03 01:20:32 +00:00
Campbell Barton
2085a42e52
pep8 cleanup
2013-06-27 03:05:19 +00:00
Campbell Barton
841c200767
report exceptions when enabling and disabling modules in blenders interface.
...
so if pressing the addon checkbox fails it tells why rather then failing silently.
2013-06-19 05:17:31 +00:00
Campbell Barton
64d6810cd9
Change edgeloop delete to use dissolve, fixes bug [ #35738 ].
...
Was using edge-slide & remove-doubles but this was error prone since remove doubles could fail in some cases or find doubles where it shouldn't (with very small scale objects).
This gives more predictable behavior when the edges of a loop wouldnt slide (in that case they would just drag over to one of the sides with no user control)
and multiple edge loops work better too. eg:
- http://www.graphicall.org/ftp/ideasman42/edge_loop_del_update.png
2013-06-14 03:04:36 +00:00
Campbell Barton
c8f30bc7f0
fix [ #35574 ] Export Key Map issue
...
problem was the keymap failed to import but didnt give any feedback, now it displays error message.
2013-06-11 15:11:55 +00:00
Campbell Barton
4625e70430
fix/workaround for problem with osx permissions.
2013-05-23 03:35:57 +00:00
Campbell Barton
44d3d88f9a
code cleanup: minor improvements to scripts.
...
- make wm-property operators use INTERNAL option.
- make console use str.expandtabs() rather then replacing tab->spaces.
2013-04-20 13:23:53 +00:00
Thomas Dinges
d7f56d85c2
* Better tooltip for WM_OT_properties_context_change.
2013-04-10 20:36:22 +00:00
Campbell Barton
8e3d590b76
code cleanup: python/pep8 and double-promotion warnings.
2013-03-28 19:33:14 +00:00