1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-22 21:43:13 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Variable
a191e19b1f
add a void 2024-09-03 04:01:46 +05:00
Variable
58bf78a51f
formatting 2024-09-03 04:00:05 +05:00

View file

@ -375,7 +375,9 @@ static func _shader_update_texture(
Global.popup_error(warnings)
static func _modify_texture_resource(image: Image, resource_name: StringName, update_callable: Callable):
static func _modify_texture_resource(
image: Image, resource_name: StringName, update_callable: Callable
) -> void:
var resource_proj = ResourceProject.new([], resource_name, image.get_size())
resource_proj.layers.append(PixelLayer.new(resource_proj))
resource_proj.frames.append(resource_proj.new_empty_frame())