You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Use a SubViewport for CanvasItem inspector preview
This commit is contained in:
@@ -51,6 +51,8 @@ class MaterialEditor : public Control {
|
||||
|
||||
Vector2 rot;
|
||||
|
||||
SubViewportContainer *vc_2d = nullptr;
|
||||
SubViewport *viewport_2d = nullptr;
|
||||
HBoxContainer *layout_2d = nullptr;
|
||||
ColorRect *rect_instance = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user