diff --git a/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Portraits/vn_portrait_layer.gd b/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Portraits/vn_portrait_layer.gd index 05f7054a4..dfc880318 100644 --- a/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Portraits/vn_portrait_layer.gd +++ b/addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Portraits/vn_portrait_layer.gd @@ -12,3 +12,4 @@ func _apply_export_overrides() -> void: for child : DialogicNode_PortraitContainer in %Portraits.get_children(): child.size_mode = portrait_size_mode child.update_portrait_transforms() + diff --git a/addons/dialogic/Resources/dialogic_layout_layer.gd b/addons/dialogic/Resources/dialogic_layout_layer.gd index aceef4110..7194ce0f9 100644 --- a/addons/dialogic/Resources/dialogic_layout_layer.gd +++ b/addons/dialogic/Resources/dialogic_layout_layer.gd @@ -39,10 +39,6 @@ func apply_export_overrides() -> void: _apply_export_overrides() -func get_layout() -> DialogicLayoutBase: - return get_parent() as DialogicLayoutBase - - ## Use this to get potential global settings. func get_global_setting(setting_name:StringName, default:Variant) -> Variant: return (get_parent() as DialogicLayoutBase).get_global_setting(setting_name, default)