mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Added multimesh physics interpolation for 2D transforms (MultiMeshInstance2D)
Replicated MultimeshInstance3D behaviour to MultiMeshInstance2D and added mesh_storage for 2D transform Also call VisualInstance::_physics_interpolated_changed() Use Node instead of VisualInstance. Addded comment Fixed typo :) Using CanvasItem instead of Node now. Made CanvasItem::_physics_interpolated_changed() protected
This commit is contained in:
@@ -140,8 +140,6 @@ private:
|
||||
|
||||
void _notify_transform(CanvasItem *p_node);
|
||||
|
||||
virtual void _physics_interpolated_changed() override;
|
||||
|
||||
static CanvasItem *current_item_drawn;
|
||||
friend class Viewport;
|
||||
void _refresh_texture_repeat_cache() const;
|
||||
@@ -157,6 +155,8 @@ protected:
|
||||
bool _get(const StringName &p_name, Variant &r_ret) const;
|
||||
void _get_property_list(List<PropertyInfo> *p_list) const;
|
||||
|
||||
virtual void _physics_interpolated_changed() override;
|
||||
|
||||
virtual void _update_self_texture_repeat(RS::CanvasItemTextureRepeat p_texture_repeat);
|
||||
virtual void _update_self_texture_filter(RS::CanvasItemTextureFilter p_texture_filter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user