mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-23 14:03:13 +00:00
Compare commits
No commits in common. "a191e19b1f3ad19a14c6378c7c3983a5975d85cb" and "b2fe358950329732ac34f9daf14a4954fd5d4c55" have entirely different histories.
a191e19b1f
...
b2fe358950
1 changed files with 1 additions and 3 deletions
|
@ -375,9 +375,7 @@ static func _shader_update_texture(
|
|||
Global.popup_error(warnings)
|
||||
|
||||
|
||||
static func _modify_texture_resource(
|
||||
image: Image, resource_name: StringName, update_callable: Callable
|
||||
) -> void:
|
||||
static func _modify_texture_resource(image: Image, resource_name: StringName, update_callable: Callable):
|
||||
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())
|
||||
|
|
Loading…
Add table
Reference in a new issue