a07dcd67eb
Fix #35240 : command line -t number of threads option did not work for cycles.
...
Now it works for blender internal, cycles and other multithreading code in
Blender in both background and UI mode.
2013-05-08 13:23:17 +00:00
a9fb183901
rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()
...
was renamed fairly recently but other similar iterators not negated
like this, would prefer to keep it as it was
2013-05-08 12:58:11 +00:00
3f7f07faf5
style cleanup
2013-04-18 01:52:38 +00:00
0807c976f4
code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,
...
also correct odd indentation.
2013-03-15 10:48:48 +00:00
53b7bc8f1f
Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It is
...
always used in that context so we can at least avoid reverting it twice
:p.
2013-03-06 20:55:04 +00:00
8b8d4ba7ef
sim: Remove "continue physics" code
...
This was left over from 2.4x days and is not used anymore.
Now simulations are always interactive.
2013-01-22 20:47:03 +00:00
b2c66e268f
replace MIN/MAX 3,4 with inline functions
2012-12-21 05:07:26 +00:00
3bc3e178b3
style cleanup
2012-12-20 00:29:31 +00:00
fae6c35ca7
code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few files since its done throughout the code in some places.
2012-11-04 07:18:29 +00:00
23baf8c9c3
code cleanup: check defgroup_name_index() return value != -1, rather then checking >= 0.
...
also remove unused bmesh decimator code.
2012-10-22 17:19:05 +00:00
ddc2dbc2a4
style cleanup
2012-10-22 08:15:51 +00:00
589ada7f0c
code cleanup: correct spelling
2012-09-28 06:45:20 +00:00
aa49ca25d5
incorrect spelling in comments
2012-09-26 20:05:38 +00:00
25c96bc9f3
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20 01:02:39 +00:00
a0ae47f06c
add some missing NULL checks, a few parts of the code used a pointer then checked it for NULL after.
...
also made it more clear that some areas assume the pointer isnt null (remove redundant NULL checks).
2012-09-11 02:18:27 +00:00
0b5a995cfd
code cleanup: rename G.rt to G.debug_value
2012-08-08 18:21:54 +00:00
4c2de5e0c7
fix some types and incorrect info
2012-07-26 17:41:09 +00:00
250cdd5e52
code cleanup: remove commented includes - mostly from 2.4x
2012-07-18 23:07:07 +00:00
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
3a0593cc3d
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.
...
also added some comments.
2012-07-06 22:48:28 +00:00
a1091fbfa6
Fix #26876 : Soft Body ignores Goal on Lattice
...
Patch by Arno Mayrhofer (aka azrael3000) with only slight code style modifications, thanks!
2012-05-27 13:33:09 +00:00
da710b3e14
style cleanup: brace placement/newlines
2012-05-24 16:35:45 +00:00
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
af3e348430
code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars.
2012-05-19 13:28:19 +00:00
9dd981a440
style cleanup: block comments
2012-05-16 23:37:23 +00:00
ed33320e3f
Code cleanup: simplify standard GHash creation.
...
Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.
GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);
Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.
2012-05-16 00:51:36 +00:00
d20c129a9c
style cleanup: whitespace/operators
2012-05-09 09:24:15 +00:00
933b3166fc
style cleanup: guys - set your editors to tabs!
2012-05-01 17:51:03 +00:00
1b47e2678e
style cleanup: missed these from previous cleanup
2012-04-29 17:55:54 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
f88cfd9168
Code and style cleanup in own modules in BKE and also mball module
...
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks)
- Make functions which are used by mball.c only static and remove their prototypes
from public header file.
Further cleanup is coming.
2012-04-28 16:49:00 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
5d6f746c87
Patch by Jose Geraldo Brito
...
Tracker 31061
It cures the stiff quad option and does not seem to harm.
Nowever the stiff quads behave strange in a ngom mesh.
I can imagine that other parts in the sofybody module may be broken by the ngon structure. Well ngons and softbodies are not relly friends:
negon wants less edges softbodies would work better if more structural edges were possible
2012-04-27 11:49:09 +00:00
1615b46963
style cleanup
2012-04-21 13:37:26 +00:00
6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
5b88712ff9
move debug flag into its own global var (G.debug), split up debug options.
...
--debug
--debug-ffmpeg
--debug-python
--debug-events
--debug-wm
This makes debug output easier to read - event debug prints would flood output too much before.
For convenience:
--debug-all turns all debug flags on (works as --debug did before).
also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-31 00:59:17 +00:00
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
8e0493b290
Fix #30449 : sampled motion blur not working with softbody.
2012-03-19 17:22:01 +00:00
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
c21c58f44c
style cleanup, also remove unused externs.
2012-03-11 19:09:01 +00:00
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
95670e03a0
style cleanup / comment formatting for bli/bke/bmesh
2012-03-03 20:19:11 +00:00
9d49fa0e63
style cleanup - spelling corrections & update some incorrect comments.
2012-03-03 11:45:08 +00:00
7bbf4b7831
style cleanup
...
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02 16:05:54 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
53fece44cf
style cleanup for blenkernel, no functional changes.
2012-02-23 02:17:50 +00:00
e1dd245a1e
more keymap edits
...
- make sure defaults are not assumed (so reuse last settings doesnt
override)
- replace 0/1 for TRUE/FALSE defines.
2012-01-16 16:12:03 +00:00