mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-08 20:09:36 +01:00
Only initialize points if necessary.
This commit is contained in:
parent
e0895460e5
commit
88f2303cf8
@ -129,7 +129,9 @@ MMSdf3dShapeCapsule::~MMSdf3dShapeCapsule() {
|
||||
|
||||
void MMSdf3dShapeCapsule::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_POSTINITIALIZE) {
|
||||
init_points_11();
|
||||
if (points.size() == 0) {
|
||||
init_points_11();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user