Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-23epydocs for bge pre/post render callbacksCampbell Barton
2009-11-22missing decref from patch #19258Campbell Barton
2009-11-22[#19258] [patch] Adding drawing capabilities to BGE PythonCampbell Barton
patch from Mitchell Stokes (moguri) simple use case scene.post_draw = [pyOpenGLFunc] this only needs to be set once, then the funcion runs each redraw. note, this patch also changes how python scripts run (not modules): Dont clear the namespace after running a script, since functions still use the namespace, BGE API is now better when dealing with stale data. made some changes to this patch. - assigning a list didnt decrement the existing list. - initialize as NULL rather then a blank list - dont use string comparisons for the callbacks, pass the python list to use instead. - dont check the list items are callable. python will display an error if they are not. - use python list macros that dont do any type checking sine blender does this when assigning the list ---- from tracker, edited since an updated patch changes some things. Here is a patch to be able to draw to the screen with BGE Python. This will be very handy for GUI stuff. This patch works by having the user register a callback in the scene. Two options are available KX_Scene.pre_draw and KX_Scene.post_draw. The difference between these is when Python draws to the screen (before or after the BGE). Each can take a list of functions. Here is an example that draws a blue semi-transparent
2009-11-22MSVC 9 projectfilesAndrea Weikert
* Added GLEW_STATIC where necessary to make Blender compile again * First attempt at compiling blenderplayer again - compiles, but doesn't link yet * removed deprecated SND_ functions from blenderplayer
2009-11-22BGE: Removing OB prefix from object names - This will break scripts !!!! ↵Dalai Felinto
(also removing AC and ME :: internal changes only) How it works now: whenever you have to read/write object names you can do it without the prefix "OB". (it's not hard at all to fix scripts) How it was before: It was a mess :) We had an inconsistent API where sometimes you had to input "OBname" and other "name" directly to assign object as data (usually in actuators). Justification for the change: Talking with Campbell we had since a while ago this feeling that this should be changed any time we were going to deprecate the API. So in order to deliver Blender 2.5beta0 with a more close-to-the-final API we decided that today was a good day to implement that. Remaining issues: 1) VideoTexture uses IM or MA to identify the output material/texture. I haven't touched that, but it does look a bit off. (i.e. I didn't changed any MA, IM naming) 2) I didn't see the code of dynamic mesh. It may need to be edited as well.
2009-11-21patch [#19796] GLEW update by Mitchell Stokes (Moguri)Dalai Felinto
GLEW update to version 1.5.1 [11-03-08] this opens room for Geometry Shader support. * - Brecht, Campbell told me you did some local changes in order to make it right in Linux. I get to you in order to know what those changes are (or feel free to commit them directly)
2009-11-21patch from Dave Plater which fixes some problems building the BGE with cmakeCampbell Barton
2009-11-20option to have scripts run on startup for per blendfile UI'sCampbell Barton
2009-11-18rename pose_channels to bonesCampbell Barton
was: object.pose.pose_channels["Bone"] now: object.pose.bones["Bone"]
2009-11-16bge: fix for "dome mode not working with Letterboxing".Dalai Felinto
This bug was introduced after commit # 24102 (BGE: when letterbox is enabled use the camera framing as a clipping area) reported in IRC by Pete Carss (domejunky) *) an extra stub fix for recent commit. By the way: we want to have blenderplayer running in blender 2.5 beta0. Therefore if you are doing big changes in the last minutes (Friday, Saturday??) It would help a lot if you could enable blenderplayer in your builds. links problems are really easy to fix) **) an typo I spotted in recent mesh dynamic load in bge.
2009-11-16Add include path to find BLO_readfile.h.Guillermo S. Romero
2009-11-16BGE: dynamic loading patch commited. API and demo files available here: ↵Benoit Bolsee
https://projects.blender.org/tracker/?func=detail&aid=19492&group_id=9&atid=127
2009-11-16bpplayer compiling fixes: ([#19890] Getting the Blenderplayer to build again ↵Dalai Felinto
by Mitchel Stokes (moguri) and some changes form mine) 1) SetDisplayArea was created in Blender but we forgot to set it in the player 2) Fix some SCons incs (using lists instead of strings) 3) added more nasty stubs calls (this file is getting big) * typo fix from last commit **) it's raining with bolts here and I have to turn the internet off. I couldnt hard test this commit but it looks like working. sorry if sometihng go wrong
2009-11-15[#19896] [bugfix] Fixing converting of rotation f-curvesCampbell Barton
from Mitchell Stokes (moguri) --- from the patch With f-curves there are 3 rotation modes, rotation_euler, rotation_axis_angle, and rotation_quaternion. The IPO converter was still simply looking for "rotation" f-curves instead of specific ones. This patch fixes that and also fixes bug #19873 ( http://projects.blender.org/tracker/index.php?func=detail&aid=19873&group_id=9&atid=306 ).
2009-11-11Mitchell Stokes BGE MouseWarp patch + warning fixCampbell Barton
[#19854] [bugfix] Fix for broken Rasterizer mouse functions --- This patch fixes the embedded player's ability to control the mouse. For example, hiding and unhiding the mouse cursor did not work in 2.5, nor could the mouse's position be controlled. This was because these parts still needed to be ported to 2.5 window manager code.
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-10Math LibBrecht Van Lommel
* Pre-conversion commit removing old arithb.c code, this will not compile, next commit fixes that.
2009-11-10fix for own error in active bone commit, wasnt checking object type was an ↵Campbell Barton
armature also fix for warning with printf
2009-11-10use armature active bone as a pointer rather then a flag for each bone that ↵Campbell Barton
needs looking up. - rna vars arm.bones.active & rna.edit_bones.active - needed special undo support. - readfile.c loads. - duplicate and copy_armature support. - keep the draw flag, renamed to BONE_DRAW_ACTIVE, only use for openGL drawing. Note: it may be better to allow active/unselected as with objects.
2009-11-02how embarrassing!Campbell Barton
2009-10-30BGE patch #19751: Add game actuator like methods to GameLogic.Benoit Bolsee
2009-10-27- Right click menu can open links directly to API reference docs (rna and ↵Campbell Barton
operators) - Generated and uploaded api docs - http://www.blender.org/documentation/250PythonDoc - Added Edit docs menu item & operators as discussed with Mindrones, Brecht, Stani & Letterip @ bconf, needs some web backend. python operator can aparently use xml/rpc to upload docstrings. - Added operator invoke function - context.manager.invoke_props_popup(self.__operator__, event) this calls a popup for invoke by default (which intern calls execute()) - Own recent commit to game framing applied to non-camera views too. - v3d->persp is deprecated but still used in some places. - Transforming strips could overlap 1 frame if moving them below frame 0 - Transforming overlapping strips could go into an eternal loop (though overlapping strips should not exist)
2009-10-27BGE: when letterbox is enabled use the camera framing as a clipping area ↵Campbell Barton
(good for avoiding the HUD showing outside the bounds), use the framing color too (from dalai and myself)
2009-10-27remove ARegion from the Canvas, use a RAS_Rect instead. (pair programming ↵Campbell Barton
with Dalai ;) )
2009-10-27added SetDisplayArea, GetDisplayArea was used in a confusing wayCampbell Barton
2009-10-22Shape KeysBrecht Van Lommel
Blended shape keys can now be displayed & edited in edit mode. This is much like showing an armature modifier in edit mode, and shape keys now are a applied as a virtual modifier (for mesh & lattice only, curve doesn't fit in the stack well due to tilt). The main thing missing still is being able to switch between the active shape key in edit mode, that's more complicated.. but the weights of other shapes can be edited while in edit mode. One thing to be careful about is that this does automatic crazyspace correction, which means that if you edit a shape key with a low value, the actual vertices will be moved to correct for that and actually move a (potentially much) longer distance. Also includes some UI tweaks, mainly placing some buttons horizontally since the vertical list was getting too long.
2009-10-22Shape KeysBrecht Van Lommel
Internal change to not apply the shape keys to the Mesh vertex coordinates, but rather use it as part of the derivedmesh/displist evaluation. This only has one practical advantage right now, which is that you can now make a linked duplicate and pin it's shape key to a different shape than the first object. Further, this makes shape keys correctly fit into the modifier stack design, which will help implement some other features later. Also it means the mesh vertex coordinates are now really the orco's.
2009-10-20Fixes to get Blender compile and run on PowerPC OSX 10.3, gcc 3.3Ton Roosendaal
(yes antique, but having 5 year old OS's work is very cool) In short: - include <cmath> after <math.h> fails - STL template issues (recursion, syntax)
2009-10-19Fix #19669 and other: triple buffer & icon texture drawing could causeBrecht Van Lommel
a system crash and other issues on ATI/Apple, due to a buggy driver (similar issues reported for other OpenGL applications). For now, work around it by not using non-power-of-two textures on this combination.
2009-10-02* due to the setup of headers in mingw 4.4.0, includes could mess up. Making ↵Nathan Letwory
sure that windows.h isn't included where it shouln't (outside of __cplusplus)
2009-09-30svn merge https://svn.blender.org/svnroot/bf-blender/branches/blender2.4 ↵Campbell Barton
-r23566:23567
2009-09-30- rather then passing the python namespace dictionary to the controller ↵Campbell Barton
function get the namespace from the converter. - renamed SetPythonDictionary() to SetPyNamespace() - remove IsLight(), GetGameObjectType() existed before this but wasnt used for lights.
2009-09-30option to build the BGE without python, uses existing python check (cmake ↵Campbell Barton
and scons) when python is disabled videotextures are not built.
2009-09-29remove ray sensors own logic manager (now stored in parent class) + other ↵Campbell Barton
minor changes.
2009-09-29Removed the termporary defines added to make the Game Engine compile. ↵Joshua Leung
Hopefully this fixes all of the cases which broke.
2009-09-28* Copy() -> Clone() (even though these hopefully will be obliterated from ↵Nathan Letwory
extern/ soon) * remove reference to docs SConscript * python dbg commit - somehow this one was left uncommitted when I was working on r23465 and r23464
2009-09-28Compile fix for GameEngineJoshua Leung
2009-09-27Sound:Joerg Mueller
* Threading buxfix letting MSVC Debug builds crash because of corrupted std::lists * Adopted two property ranges * Changed the mixdown volume to set the device volume instead of the volume of every sound. I also removed the private redefinition of m_logicmgr in SCA_BasicEventManager, which was already defined protected in the parent class SCA_EventManager and thus caused a bug letting GE crash here because of an uninitialized pointer.
2009-09-25almost all event managers stored a pointer back to the logic manager, easier ↵Campbell Barton
if this pointer is in the base class - SCA_EventManager
2009-09-25WITH_CXX_GUARDEDALLOC was broken since BL_ArmatureObject become a PyObjectCampbell Barton
2009-09-25* some fixes to have scons/mingw compile the sources too, even with ↵Nathan Letwory
BF_DEBUG=1 and WITH_BF_GAMEENGINE=1
2009-09-25Merge of itasc branch. Project files, scons and cmake should be working. ↵Benoit Bolsee
Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library.
2009-09-25* explicit cast needed for mingw.Nathan Letwory
2009-09-24* fix snprintf error with mingwNathan Letwory
* move header guards to the right place.
2009-09-21Better unix filesystem integration as documented hereCampbell Barton
http://wiki.blender.org/index.php/BlenderDev/Blender2.5/Unix_FHS for scons WITH_BF_FHS enabled an alternative layout eg. scons WITH_BF_FHS=1 BF_INSTALLDIR="/usr/local" for CMake just run "make install" after make (CMAKE_INSTALL_PREFIX is used for the base path) Currently only scripts use both the system and user path correctly, other areas of blender have their own path code inline with lots of ifdefs, needs to be carefully updated.
2009-09-21Add audaspace search path.Guillermo S. Romero
2009-09-20Sound:Joerg Mueller
* 3D listener now working in GE
2009-09-13svn merge https://svn.blender.org/svnroot/bf-blender/branches/blender2.4 ↵Campbell Barton
-r23172:HEAD merging now to save confusion later since the changes between last merge and 23172 shouldn't be merged. brings 2.4 and trunk in sync aside from sequencer edits from Peter.
2009-09-06* cleaning up warnings (mostly windows). A collection of other warning fixes ↵Nathan Letwory
too (undefined function, assuming int, etc.) This compiled fine with scons/msvc and scons/mingw (gcc 4.4.0). Please test and report any problems.
2009-09-06white space commit. (2 spaces -> tab).Campbell Barton
Was annoying to use a different editor for cmake only. theeth says this should be ok with gsoc and merges from branches.