Commit Graph

27 Commits

Author SHA1 Message Date
5fdf739e7f Fix T58898: Python error clicking in empty space in text edit mode. 2018-12-06 23:44:21 +01:00
d92e9a4a25 Fix broken face select in paint modes with RMB select. 2018-11-26 18:46:46 +01:00
48b0695806 Cleanup: unused vars, imports 2018-11-26 09:27:25 +11:00
e840f0a90b Keymaps: add 3D view click empty space to deselect all.
The implementation of this operator was modified to be more efficient and
ensure the undo history has the exact operator used.
2018-11-25 20:07:47 +01:00
09aa799e53 PyAPI: Use annotations for RNA definitions
- 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-11 22:18:09 +02:00
532c8ac583 Cleanup: pep8 function indentation 2018-06-26 19:58:56 +02:00
0b55b8cc6a Cleanup: triple quotes for docstrings 2017-04-14 20:01:43 +10:00
9bdda427e6 PyAPI: remove bpy.utils.register_module()
In preparation for it being removed, see: T47811
2017-03-18 20:03:24 +11:00
f11057f54a Fix T41499: Can't use Deselect/Select All tool while in Texture Paint mode 2014-08-20 14:01:19 +06:00
a15be34389 Code cleanup: unused python vars & imports
Use frosted rather then pyflakes
2014-04-25 05:36:16 +10:00
e09a34520b Fix for extrude poll functions not checking active object 2013-12-22 07:59:24 +11:00
1ea47c9af9 Code Cleanup: style, spelling and pep8 edits 2013-11-20 03:40:10 +11:00
1eb90abf2b * Extrude options where available in object mode (search menu), resulting in error msg.
Added polls now, patch by Gottfried Hofmann (gottfried).
2013-11-01 13:14:17 +00:00
ac602142d3 add 'Extrude Region, Vertex Normal' to the extrude menu, equivalent of 'Extrude, Escape, Alt+S' 2013-10-15 18:30:49 +00:00
2085a42e52 pep8 cleanup 2013-06-27 03:05:19 +00:00
e8408efdba Correction to previous maya keymap commit
Added UNDOflag to the wrong operator..
2013-06-10 10:45:25 +00:00
00f37e911b Fix #35661: Maya key config - select operations are skipped by "undo" 2013-06-10 09:57:10 +00:00
7b5318ef46 Follow up to previous commit
Made Ctrl-LMB clear selection from the object.
2013-05-31 09:55:34 +00:00
8e13bb3f60 Fix #35273: click in empty space to deselect as used by the Maya keymap gave
a python error when used in pose mode.
2013-05-10 20:49:16 +00:00
39ac11a302 Partial fix for #35108: Shortcuts 3dsmax Blender 2.67RC
Made keyap use the same select_or_deselect_all operator
as used for maya keymap instead of tricks with deselect_all.

Solves issue with selection in editor mode (reported as #3
in the original bug report).
2013-04-30 07:34:23 +00:00
5c5ecc3465 Usual UI messages fixes... 2013-04-29 14:09:19 +00:00
75f1157b80 Fix #34350: Maya Keyboard map preset problems
Two main things:

- Made a python operator for selection in a viewport
  which will de-select everything if nothing is under
  the mouse.

  To do so needed to modify VIEW3D_OT_select, so invoke
  sets mouse location which is later used by exec
  function.

  This way it's possible to select stuff from python
  defined operator.

  Not best-ever solution since ideally exec() shall not
  do OpenGL stuff, but we've got this issue in some
  other operators. We'll solve this later.

- Used a keymap from Gianmichele Mariani as a reference,
  updated his keymap to latest changes in operators.

  We shall match Maya keymap much better now, thanks
  for the keymap dude!
2013-04-22 14:56:41 +00:00
9a79bd38ad don't constrain single edge extrude, annoying for retopo
see: http://www.youtube.com/watch?v=5AzRpFfWR6k

request from ZanQdo, VenomGFX & Jonathan Williams.

For previous functionality Z, Shift+Z.
2012-04-14 05:09:23 +00:00
fda2045150 correct spelling errors in comments 2011-10-17 06:58:07 +00:00
8a423f59ea pep8 cleanup and fix for keymap test operator from my own recent fix. 2011-09-26 15:39:15 +00:00
ea32492dd5 SVN maintenance. 2011-09-22 20:37:22 +00:00
e17ee1b415 2.6 Python UI files:
* Moved Operators from bl_ui into bl_operators.
* Renamed HELP_OT_operator_cheat_sheet to WM_OT_operator_cheat_sheet.
2011-09-22 19:50:41 +00:00