Cannot unfreeze a single segment in lua

Case number:845813-987854
Topic:Game: Tools
Opened by:Tlaloc
Status:Closed
Assigned:admin
Priority:2
Type:Bug
Opened on:Monday, June 14, 2010 - 18:44
Last modified:Sunday, November 11, 2012 - 10:04

I tried two different strategies to unfreeze a segment using lua, and neither worked. Strategy one to deselect segment number 2:

deselect_all()
select_index(2)
do_unfreeze_all()

This unfroze everything, as do_unfreeze_all() doesn't use the selected indexes. Strategy two:

deselect_all()
select_index(2)
do_freeze(false, false)

This did nothing. I think this one should work. I can unfreeze a segment using a UI script, but not lua.

Action item:

  • Make do_freeze(false, false) unfreeze the currently selected items. If either argument is true, freeze that part, but unfreeze the other part.
(Mon, 06/14/2010 - 18:44  |  4 comments)


Joined: 09/18/2009
Groups: SETI.Germany

You are right.
do_freeze(x,x) doesn't exactly do what it should.

Joined: 06/17/2010
Status: Open » Ongoing

Upcoming lua update will give us ability to do that.

Joined: 06/17/2010
Status: Ongoing » Done

V2 LUA has it :)
Closing.

Tlaloc's picture
User offline. Last seen 2 days 9 hours ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'
Status: Done » Closed

Done

Sitemap

Supported by: UW Center for Game Science, UW Department of Computer Science and Engineering, UW Baker Lab, DARPA, NSF, HHMI, Microsoft, and Adobe