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-02-25Building the game engine with Solid/Sumo is now optional for scons using ↵Campbell Barton
WITH_BF_SOLID. Now Sumo is has been deprecated for a while we might want to remove it for 2.5.
2009-02-25Minor speedups for the BGECampbell Barton
* Where possible use vec.setValue(x,y,z) to assign values to a vector instead of vec= MT_Vector3(x,y,z), for MT_Point and MT_Matrix types too. * Comparing TexVerts was creating 10 MT_Vector types - instead compare as floats. * Added SG_Spatial::SetWorldFromLocalTransform() since the local transform is use for world transform in some cases. * removed some unneeded vars from UpdateChildCoordinates functions * Py API - Mouse, Ray, Radar sensors - use PyObjectFrom(vec) rather then filling the lists in each function. Use METH_NOARGS for get*() functions.
2009-02-25remove warnings for the BGECampbell Barton
- variables that shadow vers declared earlier - Py_Fatal print an error to the stderr - gcc was complaining about the order of initialized vars (for classes) - const return values for ints and bools didnt do anything. - braces for ambiguous if statements
2009-02-24building the game engine without SDL works againCampbell Barton
2009-02-24Making KX_GameObject names read only.Campbell Barton
This was committed in revision 2832 but never accounted for existing object name hashes which existed since revision 2. Its possible to update the names elsewhere but unlikely anyone ever used this successfully so removing.
2009-02-24fix for segfault when the replace mesh actuator references a mesh that has ↵Campbell Barton
no object in the current scene.
2009-02-24BGE Py APICampbell Barton
* Made GameLogic.addActiveActuator(actu, bool) to raise an error if the actuator is not in the list. Before it would allow any value as the actuator and fail silently (makes debugging scripts more difficult). * Allow the actuator to be a string which is convenient if you dont want to change the settings of the actuator. * Added activate/deactivate functions to the controller, this is more logical since the GameLogic.addActiveActuator() function is running through the controller anyway. GameLogic.addActiveActuator(controller.getActuator("SomeAct"), True) ...can be replaced with... controller.activate("SomeAct")
2009-02-24compile scripts when converting controllers to give more predictable ↵Campbell Barton
performance and print syntax errors early on rather then when the script is first executed.
2009-02-23[#18291] Viewing muliple object UV's in the UV/Image editorCampbell Barton
patch from Chris and Guillermo S. Romero.
2009-02-23[#18323] VRML import will not import colors if pervertexcolors set ↵Campbell Barton
(comparison reversed) thanks to Ezra Peisach for fixing.
2009-02-23BGE Python APICampbell Barton
* fixed segfaults in CListValue.index(val) and CListValue.count(val) when the pyTypes could not be converted into a CValue. * added scene.objects to replace scene.getObjectList() * added function names to PyArg_ParseTuple() so errors will include the function names * removed cases of PyArg_ParseTuple(args,"O",&pyobj) where METH_O ensures a single argument. * Made PyObjectFrom use ugly python api rather then Py_BuildValue(), approx %40 speedup for functions that return Python vector and matrix types like ob.orientation.
2009-02-22SConsNathan Letwory
* I accidently broke the scons bit by chopping the node libs into pieces. I forgot that trunk hasn't had the nice scons cleanout I did in Blender 2.5 branch. Now everything should compile again. It took a while because I tried to quickly do the same cleanup, but src/ is just not cooperating, neither is stock mingw (no @commands.txt tempfilemunge goodies)
2009-02-22SConsNathan Letwory
* chop nodes library into smaller parts to have scons/mingw not puke over long command-lines (the texture nodes pushed the limits).
2009-02-22BGE Py APICampbell Barton
print filename:line with ShowDeprecationWarning(). Typo in scripttemplate_gamelogic.py removed 2 unneeded typedefs
2009-02-21* removed typedefs that were not used (from anonymous enums and structs)Campbell Barton
* Missed some cases of using a 'char *' as an attribute * replace BGE's Py_Return macro with Pythons Py_RETURN_NONE * other minor warnings removed
2009-02-21[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiersAndre Susano Pinto
particleInstanceModifier_applyModifier uses getVertCo,which is not implemented by ccgDM. getVertCo was used to simply perform a min/max, so it was fixed to use the apropriate min/max dm->getMinMax(dm, min_r, max_r); Maybe the fact ccgDM doesn't implements getVertCo/getVertNo is a bug, since it implements every other DM function and its strange those are left out.
2009-02-21[#18058] Black dots appear when blender renders with multi-thread and ↵Campbell Barton
material nodes Without thread locking the function that allocates new threads, black dots appear in renders. This wont affect composite nodes, Ton/Brecht - this is possibly too many lock/unlocks but I timed the render from the bug report and it didn't make a noticeable difference.
2009-02-21bugfix [#17941] Attempting to change path of audio to relative fails.Campbell Barton
2009-02-20MSVC9 project files: reactivate VideoTexture module in BGE; it that was ↵Benoit Bolsee
disabled for some reason.
2009-02-20BGE API Cleanup: distinction between array and list of values in ↵Benoit Bolsee
KX_PYATTRIBUTE macros. Fix compilation problem under Windows with strcasecmp: define it as stricmp
2009-02-19BGE Python APICampbell Barton
Use 'const char *' rather then the C++ 'STR_String' type for the attribute identifier of python attributes. Each attribute and method access from python was allocating and freeing the string. A simple test with getting an attribute a loop shows this speeds up attribute lookups a bit over 2x.
2009-02-19"object" and "objectLastCreated" attribute for actuators, deprecates ↵Campbell Barton
getObject/setObject() & getLastCreatedObject() also removed some warnings
2009-02-19Accept negative indices's for ListValuesCampbell Barton
scene.getObjectList()[-1] works like a python sequence. removed some STR_String creation that was only used to do comparisons, in a simple expressions benchmark this made logic use 4% less overall.
2009-02-18more uninitialized variables and auto-complete could copy a string over its ↵Campbell Barton
self.
2009-02-18uninitialized variable used in mesh_foreachScreenVert__mapFunc Campbell Barton
2009-02-18disable texture clamping while painting.Campbell Barton
2009-02-18[#18159] Path -> toggle cyclic -> toggle cyclic again == path corruptedCampbell Barton
was not recalculating the knots when the cyclic flag was disabled so the endpoint flag was being ignored until recalculating (extrude for eg). Also removed unneeded re-allocation of curve knots which are always reallocated by makeknots. Fixed another bug with which recalculating knots with the Python surface api. (mixed up u/v args to makeknots(..) )
2009-02-17python api bugfix,Campbell Barton
forgot to remove the cast from short to long when making x,y aspect floats.
2009-02-17fix for [#17972] Saving/Loading Radiance HDR changes colorsCampbell Barton
removed HDR loop that loaded 8bit color channels (which was incorrect) and added a call to IMB_rect_from_float at the end. This also means that char buffers wont be created if they are not needed.
2009-02-17[#17991] Anim rendered in BMP format won't play backCampbell Barton
fix from Sebastian Kochman (raiq) - [#18022]
2009-02-17bugfix [#18003] Rev-17473: Scene sets doesn't work in linksCampbell Barton
2009-02-16SCons:Nathan Letwory
* giving compileflags, cc_compileflags and cxx_compileflags to BlenderLib() now actually overrides any other setting (so there's no unclarity when ie. conflicting options are being specified in REL_CFLAGS et al). These are set after either release or debug flags, but before any *_WARN flags (so those stay maintained). * add cxx_compileflags for GE parts on win32-vc to have better performance. * NOTE: if platform maintainers (OSX and Linux) could check and do the same for their systems. Not vital, but probably very, very much welcomed by GE users.
2009-02-15BGE bug #18137 fixed: When two actors collide in this blend file the blender ↵Benoit Bolsee
crashes.
2009-02-13[#18209] 3 VSE crash bugs with .blends (all left click and move mouse over ↵Campbell Barton
Metastrip/Blend Mode related) Workaround for a bug where dragging the playhead over a metastrip with blending on it could segfault blender. Tried to figure out why the imbuf rect is not set, but for now a NULL check stops the crash.
2009-02-12add some more modifier types and access to shrink wrap target object (but no ↵Campbell Barton
other shrink wrap settings)
2009-02-12According to Amir Ebrahimi, fbx vertex color is supposed to be between 0.0 ↵Campbell Barton
and 1.0 rather then 0-255 At the moment I dont have a way to test this.
2009-02-11Once a linked image was selected, from a texture there was no way to switch ↵Campbell Barton
to a local image because the dropdown was blocked with a linked library error message. Remove linked library checking from this image selector, this isn't quite correct since the texture could be linked too, however there is no access to the texture data (or other users) when this button is drawn.
2009-02-10dpx/cineon was using the OUTPUT settings when loading DPX - white point, ↵Campbell Barton
blackpoint, gamma, log. Allow DPX's with different color channel types to load, even if they are unsupported. Saving log DPX's is broken, the header will always be written with log off because dpxCreate is called before the image presets are set. However there is no access to image presets before running dpxCreate() so log data is written but the header always sets it off. Made a fix for this but couldn't test because it seems loading log images is also broken. Enable verbose DPX output when '-d' debug flag is used.
2009-02-09- Py seq API - Added an option for seq_strip.update() to run ↵Campbell Barton
update_changed_seq_and_deps and new_tstripdata - Render stamp sequencer option wasn't ignoring muted strips.
2009-02-08== Sequencer ==Peter Schlaile
Fix for the transform fix. It's getting late...
2009-02-08== Sequencer ==Peter Schlaile
Fixed proxy scale problems in transform effect
2009-02-08== REDCODE ==Peter Schlaile
Fixed 64bit issues. sizeof(unsigned long) = 8 on 64 bit machines, shame on me...
2009-02-08== REDCODE ==Peter Schlaile
* Fixed ntohl dependency (and hopefully 64bit issues) * Video length detection fixed (tests for picture presence)
2009-02-07Update MSVC9 project filesBenoit Bolsee
2009-02-07BGE Py API cleanup: Camera Actuator.Benoit Bolsee
2009-02-06Fix for bug #18228: OpenGL specular did not get the correct viewBrecht Van Lommel
vector in perspective mode. This is default OpenGL behavior, but by now this optimization is really insignificant. Works in both the 3d view and game engine.
2009-02-06Added Scale, fixed bugs incl. patch #18037Robin Allen
2009-02-06[#18257] Workaround for bug in freealut 1.1.0Campbell Barton
by Jörg Müller (nexyon) Since this area is not maintained, I can only say it works on my system (linux/32bit) And nexyon assured me he checked over this patch well. Blender using the deprecated function is not great, but nexyon's bugfix would not be available until the next version of freealut so better to work around it by using the new function. Please test game sounds play back on win32 and Mac, in cases that it worked in the first place.
2009-02-062.4x Sequencer Python APICampbell Barton
- add metastrips now possible - access to speed options - access to wipe options - added seq.startDisp seq.endDisp seq.update()
2009-02-06Patch #18015, adds "Value to Normal" nodeRobin Allen