Thomas Dinges
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
Thomas Dinges
44f10d889e
Blender Internal:
...
* Remove some remaining (already commented) radiosity cruft.
2012-04-14 21:48:34 +00:00
Brecht Van Lommel
b219b5294b
Fix #30376 : cycles ignores camera override from sequencer.
2012-04-13 17:42:03 +00:00
Campbell Barton
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
Campbell Barton
df29e91a69
code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed.
2012-04-06 04:46:47 +00:00
Campbell Barton
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
Campbell Barton
21ac9ae461
code cleanup: use uppercase defines and change drawFCurveFade into static function.
2012-03-31 04:04:58 +00:00
Campbell Barton
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
Campbell Barton
4a1fdd80f9
style cleanup: use NULL rather than 0 for raytrace code.
2012-03-26 08:58:17 +00:00
Campbell Barton
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
Campbell Barton
6faeac9fe2
style cleanup: add braces around checks - 'if ELEM() {...}', confuses some parsers that done expand macros.
2012-03-25 22:35:18 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +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
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
Campbell Barton
b6c2f9ddab
style cleanup: enforce macros using a semicolon.
2012-03-22 01:35:13 +00:00
Sergey Sharybin
d78accb585
Correction for previous commit to make normals direction always inside
2012-03-20 17:00:25 +00:00
Sergey Sharybin
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
Campbell Barton
9dd0c4c232
rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.
2012-03-20 08:42:26 +00:00
Alexander Kuznetsov
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
Campbell Barton
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
Campbell Barton
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
Brecht Van Lommel
b53cbb4e01
Fix #30512 : external render saved render result after reporting error.
2012-03-12 11:32:23 +00:00
Campbell Barton
c21c58f44c
style cleanup, also remove unused externs.
2012-03-11 19:09:01 +00:00
Campbell Barton
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
Campbell Barton
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
Campbell Barton
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
Campbell Barton
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
Campbell Barton
46045fbb09
style cleanup - braces & else / if's
2012-03-07 04:53:43 +00:00
Campbell Barton
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
Campbell Barton
31d2ee9bf7
style cleanup, brackets in else/if, some indentation.
2012-03-06 18:40:15 +00:00
Campbell Barton
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +00:00
Bastien Montagne
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
Campbell Barton
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
Brecht Van Lommel
2942eab57c
Fix #30413 : dynamic paint crash with texture slots with no texture assigned.
2012-03-01 20:41:13 +00:00
Brecht Van Lommel
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
Brecht Van Lommel
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
Brecht Van Lommel
93249c35b1
Fix related to #30384 : multilayer exr files not saving compressed correctly.
2012-03-01 16:41:51 +00:00
Campbell Barton
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
Campbell Barton
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
Campbell Barton
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
Campbell Barton
5148828356
svn merge ^/trunk/blender -r44235:44250
2012-02-19 17:59:30 +00:00
Campbell Barton
02b28e9162
replace MIN2 / MAX2 with minf / maxf to avoid calling functions multiple times.
2012-02-19 05:11:24 +00:00
Campbell Barton
48006292d8
svn merge ^/trunk/blender -r44189:44204
2012-02-17 20:56:25 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
19d0f93099
svn merge ^/trunk/blender -r43934:43976
2012-02-08 05:45:16 +00:00
Brecht Van Lommel
9467ddb903
Fix #30081 : the fix for #30026 related to rendering indirect/environment light
...
with material ambient zero broke backwards compatibility too much. The behavior
to have ambient zero affect things even if it is not used as a factor does not
make much sense but keeps things compatible. Now instead fixed the use of
uninitialized memory.
2012-02-07 21:04:10 +00:00
Campbell Barton
d0412a1981
svn merge ^/trunk/blender -r43864:43887
2012-02-05 02:30:30 +00:00
Campbell Barton
deec4ce0bc
Code Cleanup: avoid double promotion.
2012-02-04 06:55:29 +00:00
Campbell Barton
075fee4d58
svn merge ^/trunk/blender -r43830:43864
2012-02-03 01:30:21 +00:00