0 votes

Hello,
I'm wondering if there is a good way to view GDScript's SurfaceTool generated mesh in the editor for easier visual manipulation/placement of that procedurally generated mesh.

Adding 'tool' to the top of the GDScript file that generates the mesh for a MeshInstance node appears to somewhat work by causing the script to be executed in editor each time the scene file is opened. But this appears to cause the generated mesh to be stored in the .tscn file when the scene is saved, which makes the file unnecessarily big.

I can manually clear the MeshInstance's Mesh field every time I'm saving the scene but feels like there should be a better way that I'm missing...
Thanks.

asked 6 days ago in Engine by dev.monkey (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.