texture_builder + growing sprites
This commit is contained in:
@@ -76,7 +76,8 @@ func save_as_resource():
|
||||
|
||||
var plant_part = PlantPart.new()
|
||||
plant_part.init(texture, root.position, attaches_vec2, bottom_attaches_vec2, type, is_back, base_attachable, bottom_attachable, branch_attachable)
|
||||
plant_part.take_over_path(destination)
|
||||
var err := ResourceSaver.save(plant_part, destination)
|
||||
if err != OK:
|
||||
printerr("Error saving resource: ", error_string(err))
|
||||
else:
|
||||
plant_part.take_over_path(destination)
|
||||
|
||||
Reference in New Issue
Block a user