7deb8d8a26
code cleanup: spelling
2012-10-20 20:36:51 +00:00
bc8f602601
style cleanup
2012-10-20 18:46:57 +00:00
536d9fec80
code cleanup:
...
- move object_iterators.c --> view3d_iterators. (ED_object.h had to include ED_view3d.h which isn't so nice)
- move projection functions from view3d_view.c --> view3d_project.c (view3d_view was becoming a mishmash of utility functions and operators).
- some some cmake includes as system-includes.
2012-10-17 04:13:03 +00:00
92862f96dc
code cleanup: use float sizes for function args.
2012-10-15 23:11:59 +00:00
504180674e
style cleanup: bge
2012-10-15 04:16:34 +00:00
ab86e9593b
add missing redraw notifier for separate UV operator, also some style cleanup and remove unused define.
2012-10-15 03:17:10 +00:00
4d4664d98f
code cleanup: check for msvc directly when using warning pragma's.
2012-10-15 02:15:07 +00:00
8e01b8959e
style cleanup
2012-10-14 13:08:19 +00:00
3a947cf537
code cleanup: remove redundant casts
2012-10-14 08:49:01 +00:00
64b187a928
Blenderplayer: Fixing a crash on startup when the graphics driver tried to use uninitialized memory. I had fixed this previously in Swiss, but it looks like I missed grabbing the fix when bringing the GetViewPort() changes into trunk.
2012-10-14 04:22:38 +00:00
97d4fb4161
code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too.
2012-10-09 13:36:42 +00:00
b1c4809f50
rename BGE KX_GameObject attrs
...
* group -> group_parent
* members -> group_children
so its more clear what direction the relationship is.
2012-10-09 06:03:57 +00:00
8d2835b5e5
patch [ #31875 ] Patch to get scene access through a game object
...
from Jay Parker (battery)
2012-10-09 05:58:09 +00:00
b16ca24d98
code cleanup: quiet -Wreorder
2012-10-09 03:14:38 +00:00
244ce92dbd
BGE: Setting up the RAS_ICanvas interface as the primary way to alter the OpenGL
...
viewport. This helps to eliminate OpenGL calls in weird places like the physics
code and to reduce glGet calls, which are expensive.
There should be no functional changes (except maybe a very slight speed improvement).
2012-10-08 03:28:11 +00:00
99dd59f08c
BGE: Disable depth testing when drawing the overhead profile information in the Blenderplayer. This keeps the text from being blocked by geometry in the scene.
2012-10-08 01:25:21 +00:00
9fcb7cd520
BGE: When applying movement to an object with the Character physics type, use the btKinematicCharacterController's setWalkDirection() instead of moving the physics object ourselves. This reduces issues with tunneling (the character going through other objects).
2012-10-07 19:10:03 +00:00
aedf450746
code cleanup: use checks for empty rather then size in the BGE
2012-10-07 12:28:19 +00:00
7beff06950
BGE: Committing patch [ #31442 ] "API improvements: Group references python api, for better control over groups and instances" by Martin Sell (moerdn). This patch adds a member and a group property to KX_GameObject:
...
* KX_GameObject.member returns the list of group members if the object is a group object, otherwise None is returned
* KX_GameObject.group returns the group object that the object belongs to or None if the object is not part of a group
2012-10-07 00:09:02 +00:00
dc8340fa33
correct some include dirs not being included as SYSTEM paths in cmake.
2012-10-02 03:18:48 +00:00
aa49ca25d5
incorrect spelling in comments
2012-09-26 20:05:38 +00:00
d08abbee69
add back game engine python api slicing, (was missing / regression, since move to py3x)
...
not many people must have used it since it would crash with non-zero start slice values.
2012-09-25 23:28:15 +00:00
5d56a901a8
code cleanup: c++ - use empty() rather than size(), use prefix operators for non-primitive types - recommended for non primitive types.
2012-09-20 00:55:32 +00:00
0d5d2146eb
code cleanup: make shape key api names consistent with our new convention.
2012-09-19 10:12:07 +00:00
690d5192f0
code cleanup: remove vertex/weight paint's VP_COLINDEX, this feature worked in the code but wasnt accessible from the UI this wasn't even accessible from the UI in 2.4x.
...
This would only paint onto faces from the active material. however we're better off using selection here IMHO (adding support for material selection in paint mask mode).
also quiet some warnings.
2012-09-18 04:55:52 +00:00
6df4c1317f
code cleanup: use system includes for cmake, otherwise warnings get printed in headers.
2012-09-18 04:40:20 +00:00
d3737de8c2
fix for a strange linking error where set_property() in source/blender/blenkernel/intern/property.c would get mixed up with an X11 function of the same name. it crashed blender loading on my system.
...
Give functions in property.c more unique names.
2012-09-18 04:35:30 +00:00
2fb8292005
style cleanup
2012-09-16 04:58:18 +00:00
c2a1dcf621
fix for error in recent commit (made function static that shouldn't have been), add extra gcc warnings to cmake.
2012-09-16 01:35:00 +00:00
beac985ab7
code cleanup: make local game engine functions static
2012-09-16 00:22:55 +00:00
232571c61a
code cleanup: replace macro for BLI_rect size/center with inline functions.
2012-09-15 11:48:20 +00:00
Dalai Felinto
622ac250f9
bge cleanup caught by accident while going over the code, it seems someone forgot to use rect_height everywhere (no functional change)
2012-09-13 23:39:09 +00:00
3e4b353cfa
BGE: LibLoaded sensors that made use of physics controllers (touch, collision) could cause various physics problems (like infinite loops in Bullet, etc). This happened because their KX_TouchEventManagers were merged prior to having their physics controllers merged, which has now been fixed. Thanks to Kupoman for hunting down the fix!
2012-09-13 00:46:50 +00:00
a0ae47f06c
add some missing NULL checks, a few parts of the code used a pointer then checked it for NULL after.
...
also made it more clear that some areas assume the pointer isnt null (remove redundant NULL checks).
2012-09-11 02:18:27 +00:00
04b5ef20f1
style cleanup: indentation
2012-09-06 02:20:03 +00:00
47ec91e8d3
code clenup: comments and some style edits on ghost/osx (odd indentation)
2012-09-06 02:10:09 +00:00
5d2e4bb87e
code cleanup: capitalize defines.
2012-09-06 01:31:15 +00:00
914d389713
fix for building without python, also rework python-main-loop control in the BGE to not use RNA (use lower level BKE/BLI funcs instead)
2012-09-04 03:26:12 +00:00
e5a1b1b526
Fix for [ #32469 ] "standalone blenderplayer no longer starts in lastest build" reported by narutocanada. It looks like the Hive commit (r50310) didn't take changes from r49998 into account, so it was still relying on Ghost events to push the engine along instead of calling app->EngineNextFrame().
2012-09-04 02:33:37 +00:00
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
53f343edd7
..\commmit_hive.txt
2012-09-01 21:23:05 +00:00
b78b1924f3
BGE: Make sure lib loaded cameras are added to the active scene's camera list.
2012-08-26 23:17:50 +00:00
ee96cde864
style cleanup: whitespace
2012-08-26 11:35:43 +00:00
1b487e9948
Some FFmpeg changes
...
- Make FFmpeg initialization called from creator, not from functions
which requires FFmpeg. Makes it easier to follow when initialization
should happen.
- Enable DNxHD codec. It was commented a while ago due to some strange
behavior on some platforms. Re-tested it on Linux and Windows and
it seemd to be working quite nice. Would let it be tested further,
if it wouldn't be stable enough, easy to comment it again.
- Make non-error messages from writeffmpeg.c printed only if ffmpeg
debug argument was passed to blender. Reduces console pollution
with messages which are not useful for general troubleshooting.
Error messages would still be printed to the console.
- Show FFmpeg error message when video stream failed to allocate.
makes it easier to understand what exactly is wrong from Blender
interface, no need to restart blender with FFmpeg debug flag and
check for console messages.
Used custom log callback for this which stores last error message
in static variable. This is not thread safe, but with current
design FFmpeg routines could not be called form several threads
anyway, so think it's fine solution/
2012-08-26 11:01:14 +00:00
ed0489bb6e
style cleanup: also spelling
2012-08-24 23:22:34 +00:00
9ecc6fdcc7
style cleanup
2012-08-23 07:10:48 +00:00
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +00:00
Dalai Felinto
59c8c645c3
patch/bugfix [ #32006 ] Fix for Collision Sensor - R6025 pure virtual function call crash when deleting objects in overlay scene by Jay Parker(battery) Fix for bug [ #30477 ] Collision Sensor - R6025 pure virtual function call crash
2012-08-19 20:45:34 +00:00
e4a6602a9a
Fix for [ #32361 ] "Blenderplayer quad-buffer maximum 100Hz Fps" reported by HG1.
...
Allowing the Blenderplayer to break 100fps by making it less dependent on Ghost's messages.
2012-08-18 23:46:37 +00:00
9e742ffc2b
style cleanup: also correct some doxy comments
2012-08-18 13:07:48 +00:00