mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 14:17:37 +01:00
Fixed the uv previewer node.
This commit is contained in:
parent
7abae74f96
commit
dfa336c427
@ -102,6 +102,12 @@ void MDREdUVPreviewer::_draw() {
|
||||
}
|
||||
}
|
||||
|
||||
void MDREdUVPreviewer::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_DRAW) {
|
||||
_draw();
|
||||
}
|
||||
}
|
||||
|
||||
MDREdUVPreviewer::MDREdUVPreviewer() {
|
||||
}
|
||||
|
||||
|
@ -44,6 +44,7 @@ public:
|
||||
~MDREdUVPreviewer();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
||||
Ref<MeshDataResource> mesh_data_resource;
|
||||
|
Loading…
Reference in New Issue
Block a user