1.9.7 scripted world values lost on undo
2 posts • Page 1 of 1
1.9.7 scripted world values lost on undo
Bug introduced in 1.9.x (in 1.8.5 everything fine)
how to reproduce:
type in console
run sim
draw box and undo it
sky color change script lost
-- Warning: Failed to evaluate: scene.my.color, Cannot find identifier "color" in "my"
-- Warning: Caught Exception: Not a real, source\script\Attributes.hpp:167: void script::TAttrib<class math::TVector4<double> >::CalcValueFromObject
void)
-- Warning: App.Background.skyColor was bound to bad type. Restoring to last known value.
how to reproduce:
type in console
- Code: Select all
scene.my.color := {[1,1,1,sim.time % 1]};
app.background.skyColor = {scene.my.color}
run sim
draw box and undo it
sky color change script lost
-- Warning: Failed to evaluate: scene.my.color, Cannot find identifier "color" in "my"
-- Warning: Caught Exception: Not a real, source\script\Attributes.hpp:167: void script::TAttrib<class math::TVector4<double> >::CalcValueFromObject
void)
-- Warning: App.Background.skyColor was bound to bad type. Restoring to last known value.
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: 1.9.7 scripted world values lost on undo
Emil, I know you don't like to fix thyme problems but please... one more time... 
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests



