diff --git a/Prefabs/AnimationTimeline.tscn b/Prefabs/AnimationTimeline.tscn index d50eebab1..83ac13a49 100644 --- a/Prefabs/AnimationTimeline.tscn +++ b/Prefabs/AnimationTimeline.tscn @@ -86,6 +86,9 @@ margin_bottom = 620.0 rect_min_size = Vector2( 0, 200 ) size_flags_horizontal = 3 script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} [node name="VSeparator" type="VSeparator" parent="."] anchor_bottom = 1.0 @@ -181,6 +184,7 @@ texture_hover = ExtResource( 16 ) texture_disabled = ExtResource( 17 ) [node name="AnimationTags" type="VBoxContainer" parent="AnimationContainer/TimelineContainer/LayerButtons"] +visible = false margin_left = 216.0 margin_right = 326.0 margin_bottom = 32.0 diff --git a/Scripts/Dialogs/ExportSprites.gd b/Scripts/Dialogs/ExportSprites.gd index 279461c43..b7040ad15 100644 --- a/Scripts/Dialogs/ExportSprites.gd +++ b/Scripts/Dialogs/ExportSprites.gd @@ -77,7 +77,7 @@ func save_sprite(canvas : Canvas, path : String) -> void: for layer in canvas.layers: var img : Image = layer[0] img.lock() - if layer[4] < 1: # If we have layer transparency + if layer[2] < 1: # If we have layer transparency for xx in img.get_size().x: for yy in img.get_size().y: var pixel_color := img.get_pixel(xx, yy) @@ -132,7 +132,7 @@ func save_spritesheet() -> void: for layer in canvas.layers: var img : Image = layer[0] img.lock() - if layer[4] < 1: # If we have layer transparency + if layer[2] < 1: # If we have layer transparency for xx in img.get_size().x: for yy in img.get_size().y: var pixel_color := img.get_pixel(xx, yy)