You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Added Curve preview thumbnail
This commit is contained in:
@@ -143,4 +143,11 @@ private:
|
||||
ToolButton *_toggle_button;
|
||||
};
|
||||
|
||||
class CurvePreviewGenerator : public EditorResourcePreviewGenerator {
|
||||
GDCLASS(CurvePreviewGenerator, EditorResourcePreviewGenerator)
|
||||
public:
|
||||
bool handles(const String &p_type) const;
|
||||
Ref<Texture> generate(const Ref<Resource> &p_from);
|
||||
};
|
||||
|
||||
#endif // CURVE_EDITOR_PLUGIN_H
|
||||
|
||||
Reference in New Issue
Block a user