mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 21:43:13 +00:00
add a void
This commit is contained in:
parent
58bf78a51f
commit
a191e19b1f
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ static func _shader_update_texture(
|
||||||
|
|
||||||
static func _modify_texture_resource(
|
static func _modify_texture_resource(
|
||||||
image: Image, resource_name: StringName, update_callable: Callable
|
image: Image, resource_name: StringName, update_callable: Callable
|
||||||
):
|
) -> void:
|
||||||
var resource_proj = ResourceProject.new([], resource_name, image.get_size())
|
var resource_proj = ResourceProject.new([], resource_name, image.get_size())
|
||||||
resource_proj.layers.append(PixelLayer.new(resource_proj))
|
resource_proj.layers.append(PixelLayer.new(resource_proj))
|
||||||
resource_proj.frames.append(resource_proj.new_empty_frame())
|
resource_proj.frames.append(resource_proj.new_empty_frame())
|
||||||
|
|
Loading…
Add table
Reference in a new issue