You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Automatically transform Skeleton2D calculations so pivots are not needed
This commit is contained in:
@@ -440,6 +440,7 @@ void RasterizerCanvasGLES3::canvas_render_items(RID p_to_render_target, Item *p_
|
||||
const Item::CommandMesh *cm = static_cast<const Item::CommandMesh *>(c);
|
||||
if (cm->mesh_instance.is_valid()) {
|
||||
mesh_storage->mesh_instance_check_for_update(cm->mesh_instance);
|
||||
mesh_storage->mesh_instance_set_canvas_item_transform(cm->mesh_instance, canvas_transform_inverse * ci->final_transform);
|
||||
update_skeletons = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user