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
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-24rename mathutils constructors to match other parts of the bpy/api (no ↵Campbell Barton
functional changes)
2011-11-19- rename MovieTrackingMarker.enabled --> mute, to match ↵Campbell Barton
constraints/nla/fcurves/sequencer - report an error if an invalid BGpic arg is given to v3d.background_images.remove()
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-06PyUnicode_From_STR_String utility function which passes STR_String to ↵Campbell Barton
PyUnicode_FromStringAndSize (saves a call to strlen). Also made CValue::ConvertKeysToPython use faster list creation and improved some of the macro formatting.
2011-11-05misc doc editsCampbell Barton
- remove recently added sphinx reference workaround. - tested doxygen, correct some warnings, set tab width and added pymathutils group. - added convenience target 'make doc_doxy'
2011-11-04Configurable sensor size:Sergey Sharybin
- Added support of variable size sensor width and height. - Added presets for most common cameras, also new presets can be defined by user. - Added option to control which dimension (vertical or horizontal) of sensor size defines FOV. Old behavior of automatic FOV calculation is also kept. - Renderer, viewport, game engine and collada importer/exporter should deal fine with this changes. Other exporters would be updated soon.
2011-11-04- added docs and examples for bpy.app.handlersCampbell Barton
- correct error in own last commit for BKE_screen_find_big_area()
2011-11-03python string conversionCampbell Barton
- use _PyUnicode_AsStringAndSize where possible - use %R for PyErr_Format(...) rather then running repr on the object explicitly - use const char
2011-11-03use Py_TYPE macro (no functional changes)Campbell Barton
2011-10-27use const for readonly strings and set some functions to staticCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-21- add convenience functions BLI_split_dir_part / BLI_split_file_part, which ↵Campbell Barton
just call BLI_split_dirfile(). - add a fixed value for bprogdir (the dir of bprogname), since it was being used for resource lookups.
2011-10-20Fix for bug #28979 "Action actuator breaks animation" reported by Goran ↵Mitchell Stokes
Milovanovic. Apparently IPO options can be set too frequently...
2011-10-20bge bugfix: patch #28893 "Fix for #28753 and some other changes for BGE ↵Dalai Felinto
projection code" by Juha Mäki-Kanto (kanttori)
2011-10-20initial support for unicode keyboard input for ghost & blenders WM.Campbell Barton
- currently X11 only, depends on Xinput (but should not break other os's). - ghost stores utf8 buffer, copies to wmEvent's - UI text input is currently the only area that uses this - not console or text editor. - no rna access yet.
2011-10-20misc editsCampbell Barton
- rename define DISABLE_SDL --> WITH_SDL (which was already used in some places) - blenders interation preset was using orbit rather then turntable 3d view preference (different from factory defaults). - tagged some unused rna args.
2011-10-17fix spelling mistakes in comments (and in some python error messages), ↵Campbell Barton
nothing to effect translations.
2011-10-15fix for buffer overrun with BLI_split_dirfile(...), was simple to do since ↵Campbell Barton
many places don't check for filename lengyj of 79 chars which is the limit for the file selector. Add max dir and file length args.
2011-10-09clear some warnings.Campbell Barton
2011-10-07spaces -> tabs (whitespace only changes)Campbell Barton
2011-10-06fix [#27071] Random crashes when altering a mesh vertex vector in BGECampbell Barton
thanks to Chris Holland (topher77) for supplying the fix.
2011-10-03BGE: removing old hack from Dome code. it's no longer needed and it was ↵Dalai Felinto
making dome to fail if using game autostart (<<bug)
2011-09-30Recast: upgrade library.Benoit Bolsee
- Upgrade Recast library to latest portable version - Implement recast_qsort based on FreeBSD qsort.c to have portable thread safe quick sort for use in conversion routine. - Better default value for the Build Navigation Mesh operator
2011-09-25whitespace cleanupCampbell Barton
2011-09-21remove support for irixCampbell Barton
2011-09-20Get rid of c++ in blenkernel and modifiersSergey Sharybin
Also use guarded allocations for navmesh stuff.
2011-09-19TexFace to Material Settings big patchDalai Felinto
Summary: ======== The idea here is to move the texface options into the material panel. For images with the change please visit: http://code.blender.org/index.php/2011/09/bge-material-texface-changes 1 - Some of the legacy problems 2.49 and 2.5x has with the texface system: ========================================================================== 1.1) Shadow, Bilboard and Halo are mutual exclusive (in the code), yet you can select a face to be more than one mode. 1.2) Sort only works for blend Alpha yet it's an option regardless of the Transparency Blend you pick. 1.3) Shared doesn't affect anything in BGE. 1.4) ObColor only works for Text objects (old bitmap texts) when using Texture Face Materials. (not address yet, I so far ignored obcolor) 2 - Notes: ============ 2.1) Now "Use Face Textures" in material Option panel will work in Multitexture even if there is no texture channel. 2.2) In FaceTexture mode it will use TexFace all the time, even if you don't check the "Use Texture Face" option in the UI. It's a matter of decision, since the code for either way is there. I decided by the solution that makes the creation of a material fast - in this mode the user doesn't need to mess with textures or this "Use Texture Face" option at all. I'm not strong in my opinion here. But I think if we don't have this then what is the point of the Texture Face mode? 2.3) I kept references for tface only when we need the image, UV or the tiling setting. It should help later when/if we split the Image and UV layers from the tface struct (Campbell and Brecht proposal). 3 - Changes in a Nutshell: ========================== 3.1) "Texture Face" panel (in the Mesh/Object Data panel) no longer exists. Those settings are all part of the material properties, visible when Game Render is set. 3.2) "Texture Face" Shading mode (in the Render panel) is now called “Single Texture”, it needs a material for special settings (e.g. Billboard, Alpha Sort, …). 3.3) New options in the Material Panel * Shadeless option in the Material panel is now supported for all three Shading modes. * Physics is now toggleable, this is the old Collision option. * Two Side (on) is now called Back Culling (off). * Alpha Sort is one of the Alpha options, together (and mutually exclusive) to Alpha Blend, Alpha Clip, Add and Opaque (i.e. solid). * Shadow, Billboard and Halo are grouped in the “Face Orientation” property. * "Face Textures" and "Face Textures Alpha" (under Options) can be used for all but GLSL shading mode (to be supported in GLSL eventually). * The backend in the game engine is still the same as before. The only changes are in the interface and in the way you need to think your materials. The bottomline is: It’s no longer possible to share materials between faces that do not share the same game properties. 4 - Acknowledgment: ================== Mike Pan for the design discussions, and testing along the whole development process. Vitor Balbio for the first hands-on code with the interface changes. That helped me a lot to push me into work on that. Benoit Bolsee and Brecht van Lommel for patch review (* no one reviewed the whole patch, or the latest iteractions, so I still hold liability for any problems). Blender artists that gave feedback and helped testing the patch. Patch review and original documentation can be found here: http://wiki.blender.org/index.php/User:Dfelinto/TexFace http://codereview.appspot.com/4289041/
2011-09-17use macros RAD2DEG & DEG2RAD rather then multiplying by 180.0/M_PI or M_PI/180.0Campbell Barton
2011-09-17BGE Animations: Fixing some refcount issues with KX_Scene::m_animatedlist ↵Mitchell Stokes
(fixes m_animatedlist crashes) and some whitespace issues with KX_GameObject::GetActionManager().
2011-09-16BGE fix: Font Objects not showing up in the dome modeDalai Felinto
geez, who coded the font object? or even worse, who did the dome code? Don't coders talk? tsc tsc ... Now seriously, KX_KetsjiEngine::RenderFonts() could be moved to inside the KX_Scene class. It probably should (so I could call it from inside KX_Dome::RenderDomeFrame()). Not critical, so not changing it for now.
2011-09-11Recast: fix bad level calls, Recast compiled out if BGE not enabled. SCons ↵Benoit Bolsee
updated but not tested.
2011-09-11bugfix: [bf-blender-Game Engine][28167] Restart game actuator don't get ↵Dalai Felinto
changed material mode http://projects.blender.org/tracker/?func=detail&aid=28167&group_id=9&atid=306 Game Actuator (restart or load a new file) will not keep some settings alive (as we had in 2.49). In 2.49 the solution used was to use Blender globals (G.fileflags) to get/set those settings. That was causing the blender file to change if you change the material mode from the game. In 2.5 this never worked, and the implementation was buggy (it's relying in the scene settings, which get reset ever time we restart/load a new file). My idea for fixing this is to create a new struct (GlobalSettings) where we store any setting to be preserver during the course of the game. This is specially important for options that require the game to restart/load new file (graphic ones). But it later can be expanded to support other things such as audio settings (e.g. volume), ... I'm also planning to expand it for stereo and dome settings, but I prefer to first get this committed and then build a new patch on top of that. I had some problems in finding a correct way for build/link the blenderplayer changes, so although it's working I'm not sure this is the best code (e.g. I couldn't make forward declaration to work in GPG_Application.h for the struct GlobalSettings so I ended up including KX_KetsjiEngine.h) [note: I talked with Brecht and he find this is an ok solution. He implemented it originally so it's good to have his go. However I still think there must be a way to make forward declaration to work. I will see with other devs if there is a better solution] [also I'm likely renaming glsl to flags later if there are more settings stored in the flags to be used. But for now we are only handling glsl flags]
2011-09-10Another set of fixes for recats: osx uses different order of arguments for ↵Sergey Sharybin
sort_r and it's callback. Also do not use char constants like 'NAVM' which is casting to int. And added defautl section to switch in KX_NavMeshObject::DrawNavMesh.
2011-09-10fix for building with collada and some other warningsCampbell Barton
2011-09-10fixed linking with CMakeCampbell Barton
2011-09-10recast and detour patch now builds again with GCCCampbell Barton
- rearrange structs to work for 64bit - define all vars before goto's - ifdefs for qsort_r/qsort_s - dont cast pointers to int only for NULL checks - dont printf STR_String directly, get the char pointer from it also minor change to gpu py module, no need to pass empty tuple to PyObject_CallObject, can just be NULL
2011-09-10SVN maintenance.Guillermo S. Romero
2011-09-09svn merge -r 39975:40061 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-07svn merge -r 37306:39975 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-07use Py_ssize_t rather than int when dealing with list sizes (original patch ↵Campbell Barton
from Fedora but applied changes elsewhere too), also replace PyList_Size with PyList_GET_SIZE where typechecking is already done.
2011-09-07BGE fix: ignore sounds that cannot be opened instead of crashing. ;-)Joerg Mueller
2011-09-04BGE animations: Adding a separate list to KX_Scene for animated objects. ↵Mitchell Stokes
This makes scenes with a lot of non-animated objects faster. In my test scene with 8000 static, non-animated cubes my time spent on animations went from 1.5~1.7ms to 0.001ms.
2011-09-03whitespace editsCampbell Barton
2011-09-01BGE: Undoing r39729 and applying a simpler fix (ensuring that the viewport ↵Mitchell Stokes
is correct for PostRenderScene()). This way both 2d filters and post_draw callbacks with with multiple viewports.
2011-09-01whitespace bge editsCampbell Barton
2011-09-01BGE Animations: The return type for KX_GameObject.getActionFrame() was an ↵Mitchell Stokes
integer when it should have been a float. I've fixed this and converted the tabs in the new BGE animation docs to space. I have also added more info on return types for KX_GameObject.getActionFrame() and KX_GameObject.isPlayingAction().
2011-08-31BGE: Adding two new functions to bge.render to allow users to change the ↵Mitchell Stokes
anisotropic filtering level used by textures: * setAnisotropicFiltering(level) * getAnisotropicFiltering()
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.