f9047c3f8c
Eigen: fold remaining OpenNL code into intern/eigen.
...
Differential Revision: https://developer.blender.org/D1662
2015-12-10 01:58:10 +01:00
d28431a648
OpenNL: make the API thread safe by always passing context.
...
Previously two laplacian smooth or deform modifiers executing
simultaneously could crash.
2015-11-22 22:49:43 +01:00
47ce2d7bef
OpenNL: significantly simplify code using Eigen / STL.
2015-11-22 22:49:03 +01:00
c31f74de6b
Cleanup: use BLI_listbase_count_ex to avoid redundant looping
2014-11-16 14:23:37 +01:00
7d040d2a08
Cleanup: use BLI_listbase_*** prefix for count,sort,sort_r
2014-11-16 13:57:58 +01:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
1f58bfb8be
Code cleanup: de-duplicate cotangent weight function & add arg sizes
2014-03-30 11:08:33 +11:00
c1c26c36f6
Style Cleanup: remove preprocessor indentation (updated wiki style guide too)
2013-12-22 14:12:19 +11:00
f2acb10b6b
edge hash: take an arg for the guarded-malloc string (as ghash does)
2013-08-24 13:08:55 +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
93ac968db3
code cleanup: include order
2013-04-05 17:56:54 +00:00
e8d532f1dd
style cleanup
2013-03-31 03:28:46 +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
15d443b7ea
code cleanup: includes
2013-02-28 01:28:46 +00:00
b2c66e268f
replace MIN/MAX 3,4 with inline functions
2012-12-21 05:07:26 +00:00
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
d75a66674d
code cleanup: remove deprecated defines and some struct members
2012-09-06 00:33:59 +00:00
250cdd5e52
code cleanup: remove commented includes - mostly from 2.4x
2012-07-18 23:07:07 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
2ab62ce126
code cleanup: defines with braces - end with '(void)0' so callers must end with ';' like normal function.
...
... without this some editors dont parse the source so well.
2012-05-27 12:21:13 +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
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
f6abd6ee40
style cleanup: graph & armature
2012-05-08 20:18:33 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
c91fd5a0bf
code cleanup: remove editmesh code left hanging around thats already been ported to bmesh, also remove main editmesh header.
2012-04-28 12:23:05 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +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
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
f11a6d3a84
Adds support for utf paths on Windows.
...
Not all file formats/calls are supported yet. It will be expended.
Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20 02:17:37 +00:00
ccbed13343
Quiet warnings about unused functions and variables.
...
Commented or '#if 0' these functions/variables and marked with
'UNUSED' comment so they can be restored in the future if needed.
2012-03-19 22:21:40 +00:00
dfdfa3d51b
code cleanup: replace macros VECCOPY, VECADD, VECSUB, INPR - with BLI_math funcs.
...
added copy float/double funcs: copy_v3fl_v3db(), copy_v3db_v3fl(). 2d & 4d too.
2012-03-09 06:04:17 +00:00
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
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
c8b53d2aaf
code style cleanup, no functional changes.
2012-02-23 02:23:42 +00:00
4fae6cd38d
svn merge ^/trunk/blender -r43685:43693
2012-01-25 18:13:58 +00:00
b8586f4ec3
Fix typo for sharpen graph post-processing so fac1+fac2+fac3 always equals 1.0
2012-01-25 10:10:15 +00:00
a7b0a11811
svn merge ^/trunk/blender -r43278:43294
2012-01-11 15:04:54 +00:00
e10fd04db0
use BLI_strncpy and BLI_snprintf when the size of the string is known.
...
fix for sequencer unique naming which was missed with string length update.
2012-01-11 12:33:51 +00:00
faa022563d
svn merge ^/trunk/blender -r42245:42261
2011-11-29 18:18:56 +00:00
f62ad8f69b
remove header text:
...
"The Blender Foundation also sells licenses for use in proprietary software under the Blender Licens"
also remove NaN references from files that have been added since blender went opensource.
2011-11-29 10:54:47 +00:00
e59ab6486f
svn merge -r41751:41779 ^/trunk/blender
2011-11-15 02:05:32 +00:00
094c9799f9
quiet -Wdouble-promotion warnings
2011-11-11 12:00:08 +00:00
130b4429b0
svn merge -r41638:41648 ^/trunk/blender
2011-11-10 01:50:22 +00:00
be5ef51b73
use some more logical BLI math functions & tracking used INT_MAX on a short.
2011-11-08 09:02:47 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
effea8c29b
svn merge ^/trunk/blender -r40511:40587
2011-09-27 03:12:31 +00:00
3cff99c9a1
Commented and tagged some unused vars (gcc warnings...). Also fixed some uninitialized warnings.
2011-09-26 13:24:42 +00:00
bcdd9d236c
fixed 4 uses of un-inirialized vars + some compiler warnings.
2011-05-10 23:48:09 +00:00