[Fixed]1.7.4 Resource leaking on "geval" use

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

[Fixed]1.7.4 Resource leaking on "geval" use

Postby Kilinich » Sat Jul 24, 2010 8:52 pm

Edit: (by tatt61880)
Fixed at v1.7.5 :clap:
This bug was seen only with v1.7.4. ("geval" was implemented at v1.7.4).

-Tatt
----


1.7.4
Run that scene for a minute.
You can see strange freezes.

[scene]44480[/scene]

Here I've try to use "geval" function for correctly apply dynamic density to circles.
Code is:
Code: Select all
Scene.my.addSmoke := (sPos, sSize, sColor, sTime)=>{geval("scene.addCircle({pos := " + sPos + "; radius := .1; color := [0,0,0,0.1]; drawCake := false; collideSet := 0; drawBorder := false; density := {sim.time > " + sim.time + "+" + sTime + " ? 0 : 0.005}})")};
Last edited by tatt61880 on Mon Sep 27, 2010 3:51 pm, edited 1 time in total.
Reason: Fixed!
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: 1.7.4 Resource leaking on "geval" use

Postby emilk » Wed Aug 11, 2010 5:24 pm

Same memory leak bug, will be fixed in 1.7.5
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 7 guests