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-06-09Fix for bug #18855: in texture node editor, "Add New" for worldBrecht Van Lommel
did not set texture in correct place and crashed without an active object.
2009-06-09ToolsKen Hughes
----- Bugfix #18835: negatively scaled objects resulted in incorrect boolean output. Commit to trunk instead of tagged release this time :-p
2009-06-09Fix for bug #18900: game engine lights in non-glsl mode did moveBrecht Van Lommel
anymore, missing matrix update. Also move some code to KX_LightObject to avoid duplication with player.
2009-06-09Fix for bug #18881 and #18866: Surface option for Fields crashedBrecht Van Lommel
on non-mesh objects, so hide it if not applicable. Also made it support surf, curve, font objects.
2009-06-09[#18847] Material.c Python API callsCampbell Barton
Adds access to... - Anisotropy - Mirr Threshold - Trans Threshold Breaks rule of no additions but python data access is quite safe, vray exporter needed these attributes. [#18891] BGE Convert script Python 2.5 compatible
2009-06-08Fix "no newline at end of file" warning.Ken Hughes
2009-06-08needed to use sizeof(string)-1 for text button lengthsCampbell Barton
2009-06-07Bugfix to avoid crashing BGE on Mobile Intel GMA 950/945 Express GPU (2009 ↵Erwin Coumans
latest driver 6.14.10.4926 Windows XP) Command-line option to disable vertexarrays in BGE: -g novertexarrays
2009-06-07BGE VideoTexture: fix VideoFFmpeg range attribute + error message.Benoit Bolsee
2009-06-07Patch/Bugfix so wind noise got controlable seed and therefore redoable cloth ↵Daniel Genrich
sims - bug reported by istvan
2009-06-06Setting the directories and files is buggy still, but this should prevent ↵Campbell Barton
some simple crashes, file was 80 chars long but it let the text input type in 160 chars.
2009-06-06Blender.Particle.New() wasnt documented.Campbell Barton
Changed to accept Object as well as Object name to avoid name collisions with libraries.
2009-06-06#18872 bugfix for torque on dynamic objectsErwin Coumans
#18893, fix to getParam for generic 6dof constraints
2009-06-05bpy.config.sequenceMemCacheLimit is the only way to set the memcache in ↵Campbell Barton
background mode and it didnt work. removed some unused vars from KX_Scene
2009-06-05A bunch of the same logic issues. (missed these before)Kent Mein
Kent
2009-06-05Fix "duplicate strip" always increase the user count for ipo.Diego Borghetti
As venomgfx point, the shift+d function never duplicate the ipo block if we have enable the option in UserDef -> Edit Methods -> Ipo. Now, if Ipo option is disable, we just increase the user count, otherwise we duplicate the ipo. Note: Alighorith, we need call ipo_idnew here ? (like single_ipo_users)
2009-06-05coverity issue CID: 97Kent Mein
Checker: FORWARD_NULL (help) File: base/src/source/blender/src/poseobject.c Function: pose_special_editmenu Description: Variable "ob" tracked as NULL was dereferenced. logic was wrong (gets complicated when you use !'s ;)) Kent
2009-06-05coverity issues:Kent Mein
CID: 478 Checker: REVERSE_INULL (help) File: base/src/source/blender/blenkernel/intern/softbody.c Function: apply_spring_memory Description: Pointer "sb" dereferenced before NULL check and CID: 480 Checker: REVERSE_INULL (help) File: base/src/source/blender/blenkernel/intern/softbody.c Function: springs_from_particles Description: Pointer "ob" dereferenced before NULL check again moved assignment after check to make sure pointer is valid. Kent
2009-06-05coverity issues:Kent Mein
CID: 506 Checker: REVERSE_INULL (help) File: base/src/source/blender/src/editparticle.c Function: PE_mirror_x Description: Pointer "(edit)->keys" dereferenced before NULL check and CID: 507 Checker: REVERSE_INULL (help) File: base/src/source/blender/src/editparticle.c Function: PE_mirror_x Description: Pointer "(psys)->particles" dereferenced before NULL check No need to copy the memory if the pointer isn't valid. Kent
2009-06-05coverity issue CID: 484Kent Mein
Checker: REVERSE_INULL (help) File: base/src/source/blender/imbuf/intern/anim.c Function: IMB_anim_absolute Description: Pointer "anim" dereferenced before NULL check again moving init code after check to valid pointer. Kent
2009-06-05getScreenPosition, Ray and Vect fixes:Dalai Felinto
- fix for [#18867] getScreenRay error ... the Vector wasn't been added to KX_Camera origin. Therefore the Ray was always casted to the wrong coordinate when camera wasn't in [0,0,0] (where is obviously was in my tests :) - making the input parameter compatible with Blender/BGE window coordinate system (Top-Bottom). ... that will break scripts done in 2.49. Since this feature was added only in 2.49 that fix is OK. (and the fix is ridiculous. Note: the input parameter is normalized. That means it runs from 0.0 to 1.0. Some users found it confusing, but it allows to make a game compatible with multiple desktop resolutions.a
2009-06-05BGE [#18884] light in skinned object only work properly after running the ↵Benoit Bolsee
action once.
2009-06-04coverity issue CID: 488Kent Mein
Checker: REVERSE_INULL (help) File: base/src/source/blender/src/hddaudio.c Function: sound_hdaudio_extract_small_block Description: Pointer "hdaudio" dereferenced before NULL check Moved some init code that uses a pointer to after the check to see if pointer is valid. Kent
2009-06-04BugfixTon Roosendaal
Loading font used a minimal string array (80 chars) and copied file name strings in it without size checks. Triple tsk!
2009-06-04BGE small fixesCampbell Barton
- script template use new property syntax - Python could set the axis/hat to a negative index and crash blender (nobody complained) - Servo control UI had overlapping text
2009-06-04KX_MouseFocusSensor - bug reported by Micro27 on blenderartistCampbell Barton
vertical bounds checking for multiple viewports was inverted. quiet some compiler warnings and minor corrections
2009-06-03coverity CID: 374Kent Mein
Checker: FORWARD_NULL (help) File: base/src/source/blender/src/toolbox.c Function: tb_do_render Description: Variable "ca" tracked as NULL was dereferenced. Moved check for null to include else statement. Kent
2009-06-03Missed this one before. It's another coverity issue:Kent Mein
CID: 477 Checker: REVERSE_INULL (help) File: base/src/source/blender/blenkernel/intern/cloth.c Function: cloth_apply_vgroup Description: Pointer "dm" dereferenced before NULL check Just like the others it assigned the value twice, removed the one that was before checking for NULL. Kent
2009-06-03This is coverity issue:Kent Mein
CID: 595 Checker: OVERRUN_STATIC (help) File: base/src/source/blender/python/api2_2x/sceneSequence.c Function: Sequence_setProxyDir Description: Overrun of static array "&((((self)->seq)->strip)->proxy)->dir" of size 160 bytes by passing it to a function which indexes it with argument "248" at byte position 247 Wasn't using the size of dir it was using the sizeof the struct dir is in. Fixed. Kent
2009-06-03BGE PyAPI fixesCampbell Barton
- CValue warning ShowDeprecationWarning("val = ob.attr", "val = ob['attr']"); had false positives because of python using getattr() internally. Only show the wanring now when a CValue is found. - Py functions that accepted a vector and a GameObject were slowed down by PySequence_Check() first called on the GameObject, though this would fail it would try and get attributes from the game object - ending up in ~8 attribute lookups each time. Avoiding PySequence_Check() makes ob.getDistanceTo(otherOb) over twice as fast. - Joystick hat events could crash the BGE for joysticks with more then 4 hats. - PLY Import failed on PLY files from Carve, added some extra types.
2009-06-02This commit fixes the following two coverity issues:Kent Mein
CID: 475 Checker: REVERSE_INULL (help) File: base/src/source/blender/blenkernel/intern/cloth.c Function: bvhselftree_build_from_cloth Description: Pointer "clmd" dereferenced before NULL check CID: 476 Checker: REVERSE_INULL (help) File: base/src/source/blender/blenkernel/intern/cloth.c Function: bvhtree_build_from_cloth Description: Pointer "clmd" dereferenced before NULL check You'll notice in the code the var is actually set again a few lines down before being used so better to set it after you've made sure the pointer is valid. Kent
2009-06-02Fixed limits on translate nodeRobin Allen
2009-06-02Bugfix for faulty noise function in bricks nodeRobin Allen
2009-06-01BGE: memory leak in Random actuator + make actuator truly random when seed=0 ↵Benoit Bolsee
in the UI. When running the game, seed 0 is replaced by a random seed accessible through Python in seed attribute of the actuator. Other seed value will be left unchanged and will generate fixed pseudo random series.
2009-06-01== Sequencer ==Peter Schlaile
This fixes: [#18507] Wrong audio mixdown Also: you can change output sample rate while blender is running and the audio device get's reopened automatically. Subframe-precision seeking was also broken for some releases... (shame on me)
2009-06-01BGE Blendfile path bug (use for loading and saving the GameLogic.globalDict)Campbell Barton
the original blendfile path wasn't reset when loading new blendfiles. blenderplayer was ok, but running the BGE from blender would set the blendfile original path and never reset it on loading other blend files.
2009-06-01BGE bug fix: dynamically added sensor objects didn't have their physic shape ↵Benoit Bolsee
synchronized with movement.
2009-06-01== Sequencer ==Peter Schlaile
This removes the need of using "-g noaudio", if only HD Sound strips are used. (In opposite to the RAM Sound strips, they don't need an initialized Game Sound Engine for obvious reasons...)
2009-06-01== Sequencer ==Peter Schlaile
This fixes: [#18707] Syncing animation to audio (works fine in 2.45. It does not work properly in 2.48)
2009-06-01YoFrankie bug [#18857] On start gives ImportError: No module named ↵Campbell Barton
frankie_scripts GameEngine sys.path creation was broken because of a pesky slash at the end of each path name. Win32 sys.paths were also failing when running a game that switched between blend files in different directories On win32 for some reason making absolute paths from lib->name failed, work around this by using lib->filename. STR_String.h, cast to float to quiet compiler warnings.
2009-06-01== Sequencer ==Peter Schlaile
This fixes dependency of scrub duration on mixbuffer size. (start audio with a mixbuffer size of 2048, let it play = initialize, change mixbuffer to smaller value, you will here 1 second of audio instead of a scrub) should hopefully fix [#18850] 2.49 scrubbing creates an echo
2009-05-31== Sequencer ==Peter Schlaile
This fixes: IPO pinning on sequencer strips was lost during Undo.
2009-05-31Bug in KX_GameObject.get() and ListValue.get(), wasn't checking if the ↵Campbell Barton
CValue derived objects could be converted to a PyObject. so where foo is an int prop, gameOb.get("foo") == 0, would end up returning a CValue int proxy. This is more a problem for KX_GameObject since ListValues with python access mostly don't contain ints, strings, floats. This also wont break games from 2.48 since the .get() function wasn't available.
2009-05-31BGE: fix refcount bug causing crash with Object texture coordinates.Benoit Bolsee
2009-05-31AO render error, caused by bugfix after RC3 :(Ton Roosendaal
My bug fix to support AO with "Amb" texture channel changed code too that calls AO as a pre-shade process, when texture isn't calculated yet. This caused very first pixel in a tile to show wrong AO. Especially myself deserves a kick in butt for not testing the regression files for release binaries again! Error shows clearly... in the cornelius_passes .blend file.
2009-05-29Last pre-2.49 commit part 1: splash c file and release numberTon Roosendaal
2009-05-29BGE: small performance problem: object set invisible at startup were still ↵Benoit Bolsee
put in the DBVT, causing unnecessary culling.
2009-05-29BGE: sensor object will now have Actor filter optional: new button 'Detect ↵Benoit Bolsee
Actor' in physics settings indicate if you want the sensor to detect only Actor object or all objects. This way you don't need to set the scenery to Actor to detect ground for example.
2009-05-29BGE modifier: last minute commit to fix a nasty bug with modifers messing ↵Benoit Bolsee
the alpha blend mode of the GE. Note the alpha sorting on modified mesh is not implemented so derived mesh should not have alpha faces (clip will work though). Incidently fixed a performance problem in GLSL where the derived mesh was possibly rendered multiple times. Modifier support is still a bit experimental and should not be used in production game.
2009-05-29the option for saving images as jpeg2000 was missingCampbell Barton