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
path: root/source
AgeCommit message (Collapse)Author
2009-04-07bugfix #18196Ton Roosendaal
Halos for objects (not particles) can get texture color, but they skipped the alpha mapt-to channel when that was set. Actually bug from ehh 1995!
2009-04-07BGE Joystick SensorCampbell Barton
- Raised limit of 2 axis to 4 axis pairs (4==8 joysticks axis pairs) - Added a new Joystick Sensor type "Single Axis", so you can detect horizontal or vertical movement, rather then just Up/Down/Left/Right - added Python attribute "axisSingle" so you can get the value from the selected axis (rather then getting it out of the axis list) - renamed Py attribute "axisPosition" to "axisValues" (was never in a release) If we need to increase the axis limit again just change JOYAXIS_MAX and the button limits.
2009-04-07error in last commitCampbell Barton
2009-04-07Fix for: [#18027] Strange behaviour of Explode modifier in combination with ↵Janne Karhu
SubSurf - Explode didn't use the dmcache index for getting the particles emitter position. - One "tri or quad"-comparison tested the wrong index. Leading to one quad converting into a tri.
2009-04-07Texture effector nabla didn't have a correct initial value and it's button ↵Janne Karhu
explanation needed some work.
2009-04-07Harmonic effector force wasn't working properly at all. A silly vector ↵Janne Karhu
normalization where it shouldn't have been.
2009-04-06Fix for: [#18354] Controlling with a texture the particles DENSITY parameter ↵Janne Karhu
doesn't work. If the density texture was taken into account with hair parent particles there were cases when there weren't any parents left to interpolate children from. Now a density texture is only taken into account for hair child particles.
2009-04-06bugfix #18398Ton Roosendaal
When using 'angle' display for camera, the 'lens' ipo didn't update this button. Implementation still lacks a bit... having both variables in the camera struct is asking for troubles. Put on the re-think list for 2.5!
2009-04-06BGE Python APICampbell Barton
- added a module for the BGE - GameTypes, only contains types. - added KX_PYATTRIBUTE_DUMMY attributes for KX_Light, KX_PolyProxy, KX_VertexProxy, so all types should give correct results from a dir(). - added a script to check for missing methods in the epydocs - bge_api_validate_py.txt
2009-04-06BGE Epydocs were missing some functionsCampbell Barton
renamed KX_Light -> KX_LightObject added some missing controllers
2009-04-06- remove debug printfCampbell Barton
- remove test for importing the module rather then creating a new one (didnt mean to commit) - added constants for the mouse sensor to use.
2009-04-06Bugfix #18266Ton Roosendaal
Mipmap creation for render crashed, in this case: - use Curves tool on an Image, which is UV mapped on object - Save the image to disk, under new name - Render (F12) This fix is only for the crash, there's something not well coded for Curves tool, how it manages float buffers. That's for 2.5.
2009-04-06Python ref-counting fixesCampbell Barton
2009-04-06cast needed to get things compiling again on my machine.Kent Mein
Kent
2009-04-06Fix for: [#18482] Mixed object and halo visualization for particles needs ↵Janne Karhu
"Emitter" to be activated.
2009-04-062.4x Bugfix #18279 - Copy Vertex Group Location doesn't work with subsurf ↵Joshua Leung
modifier
2009-04-06Fix for: [#18371] VParent breaks fur effects.Janne Karhu
-Virtual parents were not randomly selected due to optimization in child particle distribution code. -Wave-kink had a wrong matrix multiplication. -Amount of virtual parents wasn't scaled properly to the amount of children rendered. -Calculating virtual parents is now thread safe.
2009-04-062.4x Bugfix - #18188: "Clear user transform" does not work as described Joshua Leung
For the record, "Clear user transform" is supposed to restore selected bones to the transforms defined by Actions/NLA, not back to rest position.
2009-04-05BGE PyAPI can now import text (within the blend-file)Campbell Barton
Previously this only worked with the Blender API. - bpy_internal_import small C file that Blender scripting and the game engine use. - Tested with blender, blenderplayer, loading files - Needed to use a hack to override the Main struct since the game engine doesn't set G.main - when the sandbox is set, only internal scripts can be imported.
2009-04-05BGE Python APICampbell Barton
- action attribute wasnt checking for NULL (own fault) - KX_Scene getCamera wasnt checking for NULL - CListValue had asserts for not yet implimented functionality, this would close blender. Better to print an error if the user manages to run this functions (I managed to by CListValue.count([1,2,3]))
2009-04-05BGE Bugfixes (mostly in the py api)Campbell Barton
KX_PolygonMaterial and KX_BlenderMaterial - Added a print function (would raise a python error on printing) * Crashes * KX_GameObject SetParent - Disallowed setting a parent to its self, caused a recursion crash. KX_MeshProxy "materials" attribute was segfaulting because of my recent change - I was wrong, you do need to check material types (no idea why since they are both PyObject * at the base) KX_VisibilityActuator - Wasn't initialized with PyType_Ready() making it crash on access (own fault) * Crashes because of missing NULL checks * KX_PolygonMaterial's "gl_texture" attribute wasnt checking for a valid m_tface KX_GameObject - added checks for GetPhysicsController() KX_RayCast::RayTest - didnt check for a valid physics_environment KX_SceneActuator's getCamera python function wasnt checking if there was a camera.
2009-04-05- fixed errors with bge epydocsCampbell Barton
- changed epy_docgen.sh so inherited attributes & methods are included inline for each type, removed source option since its not useful and makes the download bigger.
2009-04-05added experimental KX_GameObject attributes "sensors", "controllers" and ↵Campbell Barton
"actuators"
2009-04-05Make materials use PyAttributeDef'sCampbell Barton
2009-04-052.4x - Grease Pencil: Swapping the order of args for ↵Joshua Leung
gpencil_frame_delete_laststroke() to be more consistent with the rest of the Grease Pencil API.
2009-04-05BGE Python APICampbell Barton
- made camera use PyAttributeDef's - removed unneeded duplicate matrix type checks - fixed own bug (added since 2.48a) that broke a converting 4x4 matrix to a PyObject
2009-04-04Made KX_MeshProxy use PyAttributeDef. simplified getting the 'materials' ↵Campbell Barton
attribute (no need to differentiate between types) Added KX_GameObject 'meshes' attribute to replace getMesh(i)
2009-04-04Fix for: [#18273] reactor particle spowns to earlier.Janne Karhu
Particle life "rand" value could be set above "1.0" allowing for negative particle lifetimes.
2009-04-04Fix for [#18017] reactor particles affected by a curve guide emit at a wrong ↵Janne Karhu
position.
2009-04-04BGE Py API, mistake when redoing set action as a static function.Campbell Barton
2009-04-04include PyObjectPlus method in __dict__Campbell Barton
2009-04-04- should fix compiling with older python versions (<2.5)Campbell Barton
- made the isA() function accept python types as well as strings. - renamed _getattr_dict to py_getattr_dict
2009-04-04moved more attributes from getattr into PyAttributeDef'sCampbell Barton
2009-04-03BGE API cleanup: RandomActuator.Benoit Bolsee
2009-04-03Fix for [#18372] object-particle in other layer not editable correctly.Janne Karhu
2009-04-03Some users could not build with python 2.5, hopefully this fixes it.Campbell Barton
2009-04-03Cleanup of particle object visualization code. No new features and hopefully ↵Janne Karhu
no new bugs.
2009-04-03Python BGE APICampbell Barton
- Initialize python types with PyType_Ready, which adds methods to the type dictionary. - use Pythons get/setattro (uses a python string for the attribute rather then char*). Using basic C strings seems nice but internally python converts them to python strings and discards them for most functions that accept char arrays. - Method lookups use the PyTypes dictionary (should be faster then Py_FindMethod) - Renamed __getattr -> py_base_getattro, _getattr -> py_getattro, __repr -> py_base_repr, py_delattro, py_getattro_self etc. From here is possible to put all the parent classes methods into each python types dictionary to avoid nested lookups (api has 4 levels of lookups in some places), tested this but its not ready yet. Simple tests for getting a method within a loop show this to be between 0.5 and 3.2x faster then using Py_FindMethod()
2009-04-03Major cleanup of particle render & drawing code. No new features and ↵Janne Karhu
hopefully no new bugs.
2009-04-03Bug fix: hair or child particles didn't react to density texture.Janne Karhu
2009-04-03fix for last commit, needed some additional checksJoseph Eagar
2009-04-03BGE Python apiCampbell Barton
Added the method into the PyType so python knows about the methods (its supposed to work this way). This means in the future the api can use PyType_Ready() to store the methods in the types dictionary. Python3 removes Py_FindMethod and we should not be using it anyway since its not that efficient.
2009-04-03Setting ignore_deprecation_warnings as 1 by default in GamePlayerDalai Felinto
(in the embed BGE it is still 0)
2009-04-03made grease pencil delete a frame if you delete all the strokes in it.Joseph Eagar
2009-04-03BGE PythonCampbell Barton
- Bugfix for running dir() on all BGE python objects. was not getting the immediate methods and attributes for each class. - Use attributes for KX_Scene (so they are included with dir()) - Override __dict__ attributes for KX_Scene and KX_GameObject so custom properties are included with a dir()
2009-04-02[#18472] [patch] Speeding up Blenderplayer's profile drawingCampbell Barton
from Mitchell Stokes (moguri)
2009-04-02[#18477] Prevent .svn directories being included in OS X app bundlesCampbell Barton
from James Crosby (sheep)
2009-04-02[#18452] Particle children API for python.Campbell Barton
from Alberto Santos (dnakhain) "This patch adds a few new variables relationated with Particle System children such as children amount, render amount, child clumping..."
2009-04-02Added getitem/setitem access for KX_GameObjectCampbell Barton
ob.someProp = 10 can now be... ob["someProp"] = 10 For simple get/set test with an objects 10 properties, this is ~30% faster. Though I like the attribute access, its slower because it needs to lookup BGE attributes and methods (for parent classes as well as KX_GameObject class). This could also be an advantage if there are collisions between new attributes added for 2.49 and existing properties a game uses. Made some other small optimizations, - Getting and setting property can use const char* as well as STR_String (avoids making new STR_Strings just to do the lookup). - CValue::SetPropertiesModified() and CValue::SetPropertiesModified(), were looping through all items in the std::map, advancing from the beginning each time.
2009-04-01BGE API cleanup: ReplaceMeshActuator mesh attributes now returns a ↵Benoit Bolsee
KX_MeshProxy. Fix a bug in KX_MeshProxy where the Python type was not set right.