Campbell Barton
6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
Tamito Kajiyama
cdbfd1db38
Merged changes in the trunk up to revision 45820.
...
Conflicts resolved:
source/creator/creator.c
2012-04-21 00:33:36 +00:00
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
Tamito Kajiyama
4a19ccfa5f
Merged changes in the trunk up to revision 45619.
2012-04-14 10:38:11 +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
Tamito Kajiyama
21484ba52c
Fix for a crash in the single layer mode with Freestyle enabled.
2012-04-06 13:49:51 +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
Tamito Kajiyama
79e2cd8fdf
Merged changes in the trunk up to revision 45383.
2012-04-04 00:50:41 +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
Tamito Kajiyama
4c36a26af5
Merged changes in the trunk up to revision 45308.
...
Conflicts resolved:
source/blender/editors/interface/resources.c
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/space_view3d/drawobject.c
2012-03-31 22:09:43 +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
Tamito Kajiyama
3b711a6ed0
Merged changes in the trunk up to revision 45133.
...
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/bmesh/intern/bmesh_construct.c
source/blender/bmesh/intern/bmesh_mesh_conv.c
source/blender/bmesh/intern/bmesh_mesh_conv.h
source/blender/editors/interface/interface_templates.c
source/blender/editors/interface/resources.c
source/blender/editors/mesh/bmesh_select.c
source/blender/editors/mesh/bmesh_tools.c
source/blender/editors/space_view3d/drawobject.c
source/blender/render/intern/source/shadeoutput.c
2012-03-25 08:20:19 +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
Tamito Kajiyama
a2ebfc82db
Merged changes in the trunk up to revision 44797.
...
Conflicts resolved:
doc/python_api/sphinx_doc_gen.py
source/blender/makesdna/DNA_mesh_types.h
source/blender/makesrna/intern/rna_action.c
source/blender/makesrna/intern/rna_ID.c
source/blender/makesrna/intern/rna_mesh.c
2012-03-10 21:56:23 +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
Tamito Kajiyama
9e93fc1e8a
Merged changes in the trunk up to revision 44612.
...
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
source/blender/bmesh/bmesh.h
2012-03-03 01:43:44 +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
Tamito Kajiyama
35708fe150
Merged changes in the trunk up to revision 44561.
...
Conflicts resolved:
source/blender/bmesh/bmesh.h
source/blender/bmesh/bmesh_operators.h
source/blenderplayer/bad_level_call_stubs/stubs.c
2012-02-29 21:35:49 +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