ccdacf1c9b
Cleanup: use '_len' instead of '_size' w/ BLI API
...
- When returning the number of items in a collection use BLI_*_len()
- Keep _size() for size in bytes.
- Keep _count() for data structures that don't store length
(hint this isn't a simple getter).
See P611 to apply instead of manually resolving conflicts.
2018-02-15 23:39:08 +11:00
ab7ebf2b10
Cleanup: Use const for RNA EnumPropertyItem args
...
Practically all access to enum data is read-only.
2017-10-18 16:04:07 +11:00
a7e742f9c4
use bool consistently, fix redundant conditional
...
Redundant conditional (line 939) found with PVS-Studio T48917
There’s still a lot of true/false, 1/0, SELECT/DESELECT usage nearby.
Not a problem, just confusing to read.
2016-07-22 02:17:52 -04:00
28ca3ebc5f
Fix T47969: Select Random always uses same seed
...
Increment the seed on each use,
otherwise calling again selects the same order, unless you manually adjust the seed.
2016-03-29 01:24:57 +11:00
f820c45534
WM: add checker_interval utility functions
2015-12-27 18:01:11 +11:00
05acf3d43a
Random Select Seed Option
...
Add 'Seed' option for all random select operators
D1508 by @mba105 , w/ edits
2015-10-10 23:52:11 +11:00
3e63c604e3
Partial revert of warning cleanup
...
These warnings are false-positives
2015-09-04 14:40:03 +10:00
Julian Eisel
ef629e0d50
Quiet warnings
...
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-04 01:04:37 +02:00
1d549530d8
Fix own mistake in curve refactor
2015-08-03 23:06:03 +10:00
e301cf3ec2
Cleanup: double-promotion warnings
2015-07-25 13:26:20 +10:00
cdbb60b0a3
Select Shortest Path for edit-curve
...
D1391 by @pink.vertex with own fixes/edits
2015-07-09 17:03:00 +10:00
bbc4a92318
Curve selection, de-duplicate & cleanup
2015-07-09 14:39:24 +10:00
ec64bf17e3
Select Similar for edit-curve
...
D1381 by @johnroper100 with edits
2015-07-09 03:03:19 +10:00
4a328a7689
EditCurve: move selection into own file
2015-07-09 00:09:26 +10:00