Mitchell Stokes
f22f60e7c4
BGE: This fixes a problem where lamps in inactive layers were rendering shadows buffers that never got used, which was a huge performance sink.
2012-03-29 01:56:08 +00:00
Mitchell Stokes
a308b6c0ec
Windows Blenderplayer: The console now closes when the Blenderplayer launches (like it does with Blender). To get it back, use the -c flag, which is finally working as described: "-c: keep console window open"
2012-03-29 01:40:19 +00:00
Brecht Van Lommel
cb45d282fe
Fix #30702 : game engine softbody weld threshold was exposed in UI, but actually
...
disabled in code because it doesn't work well, so hide the property from the UI.
2012-03-28 12:18:25 +00:00
Campbell Barton
07065b27b8
style cleanup
2012-03-28 05:03:24 +00:00
Campbell Barton
83e83e5eff
quiet some warnings for gcc 4.7
2012-03-26 20:49:33 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
Campbell Barton
81d8f17843
style cleanup: pep8, indentation
2012-03-24 07:36:32 +00:00
Campbell Barton
303cecf139
spelling cleanup: tesselate -> tessellate (last of these found)
2012-03-20 22:56:26 +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
Campbell Barton
02f707e9da
minor mathutils code cleanup - use mathutils callbacks as unsigned chars everywhere.
2012-03-17 10:46:02 +00:00
Campbell Barton
a64ee8433a
fix [ #30493 ] GE crashes on exit because of using freed mtfaces from tessfaces
...
prevent gpu_draw.c holding a pointer to a freed array.
2012-03-13 23:28:02 +00:00
Campbell Barton
2fbb5ce833
bmesh py api: more comprehensive intro page, also fix some spelling errors.
2012-03-13 06:22:43 +00:00
Sergey Sharybin
e3df2697c3
Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.
...
Thanks!
2012-03-12 08:46:53 +00:00
Campbell Barton
c21c58f44c
style cleanup, also remove unused externs.
2012-03-11 19:09:01 +00:00
Campbell Barton
80dca0a06d
style cleanup: consistent names for header guards.
2012-03-09 19:17:19 +00:00
Campbell Barton
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
Campbell Barton
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
Sergey Sharybin
3a3c5db82b
- MSVC doesn't have log2f function
...
- Fix misusage of new [] and delete in BGE.
2012-03-08 21:14:54 +00:00
Sergey Sharybin
2413523d69
Compilation error fix for game engine caused by recent DM refactoring.
2012-03-08 08:57:38 +00:00
Campbell Barton
640d766370
style cleanup - remove unneeded ';'s
2012-03-08 03:05:57 +00:00
Campbell Barton
5ebe91ca1f
change camera zoom from short to float.
2012-03-07 19:42:22 +00:00
Campbell Barton
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +00:00
Campbell Barton
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
Campbell Barton
9d49fa0e63
style cleanup - spelling corrections & update some incorrect comments.
2012-03-03 11:45:08 +00:00
Dalai Felinto
1f928833f3
option for the Armature Actuator to change the influence of a bone constraint.
...
Also adds DampedTrackTo to the list of supported constraints in the BGE
Test file:
http://www.pasteall.org/blend/11715
Patch developed as part of a project to NF-UBC Nereus Program.
Development time 'sponsored' by the project.
www.nereusprogram.org
2012-03-03 02:47:01 +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
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
ed04c21374
code cleanup: use float vector size in function definitions, and const's where the values are unchanged.
2012-02-28 14:05:00 +00:00
Campbell Barton
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
Daniel Stokes
b200c7a4df
Fixing a crash when converting physics objects in the Game Engine.
2012-02-26 21:57:51 +00:00
Campbell Barton
3fc2fbc333
style cleanup, use { on newline after function definition.
...
spelling 'impliment' -> 'implement'
2012-02-25 16:49:59 +00:00
Joerg Mueller
697b494a30
Fix for #30336 : Couldn't playback from Python without having played back via logic bricks once.
...
Thanks Colin Nickerson for reporting.
2012-02-24 19:34:29 +00:00
Campbell Barton
6cfb67b549
fix for meshes not showing up in the game engine.
2012-02-23 14:24:45 +00:00
Campbell Barton
b8e019d839
use __ prefix on header guards to avoid mixing up defines with api functions / classes.
2012-02-23 10:41:31 +00:00
Sergey Sharybin
d881bb4b32
BGE is compilable by MSVC again
...
Compilation error was mostly caused by trying to use namespace std before it was
actually defined (e.g. before any include of stl header).
It's not actually good idea to use namespaces in header files -- it's really easy to
run into namespace conflicts and so. Resolved by not using "using namespace" in header
files and using full quality accessing to stl collections (e.g. std::vector).
2012-02-23 09:40:10 +00:00
Campbell Barton
190f5d1787
code cleanup: dont set the namespace in STR_String.h - 'using namespace std', since this is included in many places.
2012-02-23 02:36:30 +00:00
Campbell Barton
40c59b1a3d
minor edits to have the game engine and player building.
2012-02-19 23:36:10 +00:00
Campbell Barton
bd0f7a290b
svn merge ^/trunk/blender -r44213:44235 --- fixes bmesh shading bug [ #30125 ]
2012-02-19 03:19:58 +00:00
Benoit Bolsee
2478db9d37
BGE bug #30173 : ImageRender not working when initialized on frame 1. This was because the canvas display area was initialized on render frame 1, which happens after logic frame 1. Fixed in blender and player by initializing the area on canvas creation.
2012-02-18 15:25:31 +00:00
Campbell Barton
428f031237
svn merge ^/trunk/blender -r44076:44118
2012-02-15 12:08:06 +00:00
Dalai Felinto
91058355cc
font objects in blenderplayer fail when object with alpha is rendered
...
the embed bge has its own DisableForText() routine which prepares the GL flags for the text render.
For some reason blenderplayer is taking a slim approach and going straight for the rendering. This routine helps to address this bug/case (non reported, foundin my own project files). If need arises we should move this to its own routine incorporating the other GL tests the embed bge performs.
2012-02-14 18:23:58 +00:00
Mitchell Stokes
6905d0d92b
Fixing up some buggy cleanup code in BL_ShapeDeformer. This code was causing crashes and corrupting shape keys. This commit fixes the following bugs:
...
[#30059 ] Shape Keys is gone in Blender if you use Add Object Actuator in BGE
[#30024 ] Segmentation fault after addObject when using shape keys
[#28683 ] segfault in shapekey conversion code when running a game (YF, level home) twice
2012-02-14 07:54:12 +00:00
Campbell Barton
5ea86e1e2b
svn merge ^/trunk/blender -r43995:44024
2012-02-11 04:10:50 +00:00
Dalai Felinto
6a598148a7
bge font objects: fix for difference in size when object has a parent
...
for after 2.62 I would like to try if using doubles would help to increase the precision here.
Also now that the mipmap patch is reverted we may want to look at this problem from a different perspective.
RES could be calculated taking the object size in relation to the camera (i.e. size and distance, ignoring rotation).
That may solve both problems of wrong resolution and lack of smoothness.
For the time being users still need to use object.resolution to fine tune the rendered text.
2012-02-10 07:52:21 +00:00
Dalai Felinto
17dadffd66
reverting commit [43876] Fix for aliased fonts in the game engine
2012-02-10 06:18:32 +00:00
Dalai Felinto
e90e522942
bugfix [ #30127 ] alpha in FontObjects not working in blenderplayer
2012-02-10 05:10:52 +00:00
Campbell Barton
19d0f93099
svn merge ^/trunk/blender -r43934:43976
2012-02-08 05:45:16 +00:00
Joerg Mueller
77ab18ebc3
Fix for [ #29910 ] Crash on reading KX_SoundActuator.sound
...
aud is now imported automatically on BGE start.
2012-02-07 11:22:50 +00:00