Campbell Barton
5c6e333780
UI Refactor T41640
...
Make the UI API more consistent and reduce confusion with some naming.
mainly:
- API function calls
- enum values
some internal static functions have been left for now
2014-11-10 23:06:54 +01:00
Campbell Barton
e71f2fc3ba
Cleanup
2014-08-27 09:52:24 +10:00
Bastien Montagne
e81b1c54d2
Cleanup: get rid of magic numbers.
2014-07-09 15:12:48 +02:00
Lukas Tönne
330633f063
Fix T40785: "Select Grouped" Pass Index mode is redundant.
...
Revert "Object Select Similar tool now has a Pass Index option."
This reverts commit 7a6919a74e .
2014-07-08 16:18:04 +02:00
Joshua Leung
6cc78927a3
Select Grouped -> KeyingSet for bones also shows error messages now when the Keying Set is inappropriate
2014-07-04 00:09:36 +12:00
Campbell Barton
a4d9c8f579
Code cleanup: casts, dead assignment & arg order.
2014-06-26 15:46:42 +10:00
Joshua Leung
8d6f546f32
Whitespace fix
2014-06-26 14:42:36 +12:00
Joshua Leung
11e0dddf91
Bugfix T40801: Select grouped objects by Keying Set not working with builtin Keying Sets
...
Most of the default builtin Keying Sets (e.g. Loc, Rot, Available, etc.) depend
on the currently selected objects, making them unsuitable for use with this feature.
As a result, this feature would silently fail. This commit adds some error messages
which at least let users know what's going on so that they can make other plans
2014-06-26 14:39:44 +12:00
Lukas Tönne
95d6c01478
Fix T40756 Select Linked by Particle System matches ignores selected
...
psys.
This is inconsistent with other comparable cases like materials, where
the active slot is used to define matching objects.
2014-06-23 08:22:42 +02:00
Campbell Barton
4ca67869cc
Code cleanup: remove unused includes
...
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-05-01 04:47:51 +10:00
Campbell Barton
48446870a8
Code cleanup: remove redundant CTX calls
2014-04-30 08:11:47 +10:00
Campbell Barton
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
Campbell Barton
b3afbcab8f
ListBase API: add utility api funcs for clearing and checking empty
2014-02-08 06:24:05 +11:00
Campbell Barton
348cf17448
Code Cleanup: no need to pass empty strings as default values
2014-01-16 22:00:29 +11:00
Campbell Barton
7ae1949517
Select Random: add option to de-select
...
also made metaball operator behave like the others.
Path originally from Walid Shouman, with own edits.
2014-01-13 20:39:12 +11:00
Campbell Barton
63caaa2b12
Code Cleanup: rename vars for detecting change to be more consistent
...
rename change/is_change/is_changed/modified -> changed
also use bools over int/short/char and once accidental float.
2013-11-26 06:39:14 +11:00
Campbell Barton
e62cdbb474
code cleanup: rename flip_side_name to BKE_deform_flip_side_name
2013-11-17 05:23:05 +11:00
Campbell Barton
d407aeecc7
code cleanup: use more (blender) conventional naming for group functions.
...
also change dump_rna2xml.py to dump bpy.data by default.
2013-04-03 11:28:42 +00:00
Campbell Barton
a79e10157d
code cleanup: use NULL rather then 0 for pointers, and make vars static where possible.
...
also found unintentionally defined enum/struct variables that where only meant to be defining the type.
2013-03-22 05:34:10 +00:00
Campbell Barton
e7c15beaf6
code cleanup: use booleans for mesh and selection code.
2013-03-19 23:17:44 +00:00
Bastien Montagne
b1543f07bf
Another bunch of UI translation fixes, thanks to Leon Cheung, Gabriel Gazzán and S. Lockal for spotting them!
2013-02-24 15:40:28 +00:00
Brecht Van Lommel
7a6919a74e
Object Select Similar tool now has a Pass Index option.
...
Patch by Jesse Werner.
2013-02-21 18:08:04 +00:00
Campbell Barton
5e4bc5a4f8
patch [ #33687 ] select similar lamp
...
by Saurabh Wankhade (sauraedron), with some edits.
2012-12-28 11:24:07 +00:00
Bastien Montagne
c9dade4fe0
Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-26 17:32:50 +00:00
Bastien Montagne
492518f5e4
Fix [ #32884 ] select by group not working when active object in more than one group.
...
Would have liked to rework this whole area, but it's kind of tricky, so better to first fix that bug!
2012-10-22 06:53:51 +00:00
Campbell Barton
c56a911cd9
style cleanup: comments
2012-10-20 20:20:02 +00:00
Campbell Barton
aa49ca25d5
incorrect spelling in comments
2012-09-26 20:05:38 +00:00
Campbell Barton
d3737de8c2
fix for a strange linking error where set_property() in source/blender/blenkernel/intern/property.c would get mixed up with an X11 function of the same name. it crashed blender loading on my system.
...
Give functions in property.c more unique names.
2012-09-18 04:35:30 +00:00
Campbell Barton
27b4b45543
utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in a linked list by a pointer.
2012-08-18 16:16:13 +00:00
Campbell Barton
32254596d4
replace ELEM8(gs, ID_ME, ID_CU, ID_MB, ID_LT, ID_LA, ID_CA, ID_TXT, ID_SPK) with macro: OB_DATA_SUPPORT_ID()
2012-08-12 14:57:19 +00:00
Campbell Barton
06791ba281
select linked
...
- dupligroup now only selects objects with dupligroup enabled.
- selected onjects are skipped, this way and undo push wont happen if no new objects are selected.
also minor edits to node view all/selected
2012-08-07 17:20:21 +00:00
Campbell Barton
9ff4fa6671
style cleanup
2012-08-04 12:30:16 +00:00
Sergey Sharybin
4ca9275b44
Implement operator to select linked data from outliner
...
Supports selecting using object data, material and library.
Would be nice to hide this menu item from menus appearing for
datablocks which does not support such a selection, but that
could be done separately.
2012-07-25 19:45:34 +00:00
Sergey Sharybin
b66f541b42
Separate Select Linked operator into smaller function which could be reused.
...
Should be no functional changes.
2012-07-25 19:45:31 +00:00
Campbell Barton
1597ad9377
style cleanup
2012-07-01 09:54:44 +00:00
Sergey Sharybin
909752a3da
Fix #31752 : Select All By Layer seems not to work when object belongs to several layers
...
Added option which changes match policy from exact match and shared layers when
selecting objects by layer.
2012-06-08 15:14:45 +00:00
Campbell Barton
2d2d36fe3b
code cleanup:
...
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.
2012-05-20 19:49:27 +00:00
Campbell Barton
9dd981a440
style cleanup: block comments
2012-05-16 23:37:23 +00:00
Campbell Barton
6292fb4cbd
code cleanup: BKE_libblock_find_name() now takes an ID constant rather then a string.
2012-05-05 17:00:11 +00:00
Campbell Barton
1dccd4c98a
code cleanup: naming - pose/armature/image
...
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05 16:03:57 +00:00
Campbell Barton
299ff91ea1
code cleanup: BKE_scene api naming.
...
also stop numpy from being found in /usr/include with cmake.
2012-05-05 14:33:36 +00:00
Campbell Barton
a5af5e8f50
style cleanup: re - http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30 16:22:40 +00:00
Campbell Barton
e2c453b5f9
style cleanup: editors / mesh & object
2012-04-28 15:42:27 +00:00
Campbell Barton
ef054e165c
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.
2012-04-28 15:14:16 +00:00
Campbell Barton
6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
Campbell Barton
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
Campbell Barton
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
Bastien Montagne
02abb636a3
UI messages: unification of select/deselect stuff.
...
Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.
2012-03-17 19:14:08 +00:00
Campbell Barton
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +00:00
Campbell Barton
a2c182e923
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
2012-03-03 16:31:46 +00:00