@@ -16,6 +16,7 @@ class EditContext {
function get_ide() return hide.Ide.inst;
public function onChange(p : Prefab, propName : String) {
var ctx = getContext(p);
+ scene.setCurrent();
if(ctx != null) {
p.updateInstance(ctx, propName);
var parent = p.parent;
@@ -80,6 +80,7 @@ class AnimEvent extends hide.prefab.fx.Event {
if( animation != null )
select.val(animation);
select.change(function(_) {
+ ctx.scene.setCurrent();
var v = select.val();
var prev = animation;
if( v == "" ) {