b8c4c54ff0
corrected more issues from [ #31069 ] Analyzing the Blender project with PVS-Studio
2012-04-23 16:29:13 +00:00
5c89138684
style cleanup: comments
2012-04-22 11:54:53 +00:00
b56aabf815
style cleanup: multi-line if statements.
2012-04-21 15:11:03 +00:00
6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
48ed63b1a5
Scons ToDo:
...
* Made Smoke building optional, added WITH_BF_SMOKE.
* Enabled per default in btools.py
2012-04-14 21:55:38 +00:00
44f10d889e
Blender Internal:
...
* Remove some remaining (already commented) radiosity cruft.
2012-04-14 21:48:34 +00:00
b219b5294b
Fix #30376 : cycles ignores camera override from sequencer.
2012-04-13 17:42:03 +00:00
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
df29e91a69
code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed.
2012-04-06 04:46:47 +00:00
670cdd5381
code cleanup:
...
always use if (...) even if the macros dont require it (confuses parsers)
define macros without the ';'s included.
2012-04-02 02:41:28 +00:00
21ac9ae461
code cleanup: use uppercase defines and change drawFCurveFade into static function.
2012-03-31 04:04:58 +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
4a1fdd80f9
style cleanup: use NULL rather than 0 for raytrace code.
2012-03-26 08:58:17 +00:00
ce4eb57301
fix [ #30653 ] Wrong image at UV/Image Editor window
...
render results would be displayed on loading new files if the scene names matches, now free render-results so as not to display stale data - also saves some memory.
2012-03-26 08:10:12 +00:00
6faeac9fe2
style cleanup: add braces around checks - 'if ELEM() {...}', confuses some parsers that done expand macros.
2012-03-25 22:35:18 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +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
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
b6c2f9ddab
style cleanup: enforce macros using a semicolon.
2012-03-22 01:35:13 +00:00
d78accb585
Correction for previous commit to make normals direction always inside
2012-03-20 17:00:25 +00:00
5ae9ad9113
Fix #30420 : Metaball Shading Inverted in Raytrace Reflection (Blender Internal)
...
Issue was caused by negative scale of camera. Metabolls are using procedural
normals and in case of negative scaled camera normals for them shall be flipped.
2012-03-20 16:17:34 +00:00
9dd0c4c232
rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.
2012-03-20 08:42:26 +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
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
3633858fdb
code cleanup:
...
* replace 2D vector copy with copy_v2_v2().
* use puts rather then printf for single strings.
* style cleanup for drawobject.c indentation.
2012-03-18 06:01:33 +00:00
b53cbb4e01
Fix #30512 : external render saved render result after reporting error.
2012-03-12 11:32:23 +00:00
c21c58f44c
style cleanup, also remove unused externs.
2012-03-11 19:09:01 +00:00
178c2c32f2
[ #30503 ] Callback for render job completion
...
from Jason van Gumster (thefallenweeble)
adds render_complete and render_cancel callbacks to bpy.app.handlers
2012-03-11 17:24:03 +00:00
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +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
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
46045fbb09
style cleanup - braces & else / if's
2012-03-07 04:53:43 +00:00
400a0297b0
- simplify rip code not to expand/contract selection.
...
- disable BVH edge visibility test (ifdef'd out. dont think its really needed)
2012-03-07 00:08:00 +00:00
31d2ee9bf7
style cleanup, brackets in else/if, some indentation.
2012-03-06 18:40:15 +00:00
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +00:00
685fda4f13
Many i18n fixings, based on [ #30428 ] [2.62] Translation Issues.
...
In fact, most "UI special cases" are not well translated, currently. :/ This affects especially the "Properties" panels. This commit should address problems in Graph editors, and 3D View (but probably not yet all of them). Yet it already adds more than 100 new messages (and fixes translated drawing of more).
Also done some style edits…
2012-03-03 21:42:21 +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
2942eab57c
Fix #30413 : dynamic paint crash with texture slots with no texture assigned.
2012-03-01 20:41:13 +00:00
8643b8a02d
Fix related to #30416 : python render_stats handler now also gets called when the
...
saved file message is printed.
2012-03-01 19:19:10 +00:00
dff2e84427
Fix #30415 : motion blur option still had an effect on external engines / cycles,
...
should not be used then.
2012-03-01 19:19:04 +00:00
93249c35b1
Fix related to #30384 : multilayer exr files not saving compressed correctly.
2012-03-01 16:41:51 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
7cc206ddca
Code Cleanup: remove non existing function declarations.
...
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
2012-02-29 15:00:37 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
5148828356
svn merge ^/trunk/blender -r44235:44250
2012-02-19 17:59:30 +00:00
02b28e9162
replace MIN2 / MAX2 with minf / maxf to avoid calling functions multiple times.
2012-02-19 05:11:24 +00:00
48006292d8
svn merge ^/trunk/blender -r44189:44204
2012-02-17 20:56:25 +00:00
61596d5bb3
patch [ #30227 ] Various MSVC (32-bit) Warning and Typo Fixes
...
made some small edits
- removed changes to AVI reading since the data types are apart of the format spec.
- absf -> abs for a double value in render code.
2012-02-17 19:21:47 +00:00
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
19d0f93099
svn merge ^/trunk/blender -r43934:43976
2012-02-08 05:45:16 +00:00