mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix flipped clipper2 ifdef
Fix flipped clipper2 ifdef
This commit is contained in:
@@ -1197,7 +1197,7 @@ COMMAND_1(free, RID, p_object) {
|
||||
ERR_FAIL_NULL(parser);
|
||||
|
||||
generator_parsers.erase(parser);
|
||||
#ifndef CLIPPER2_ENABLED
|
||||
#ifdef CLIPPER2_ENABLED
|
||||
NavMeshGenerator2D::get_singleton()->set_generator_parsers(generator_parsers);
|
||||
#endif
|
||||
geometry_parser_owner.free(parser->self);
|
||||
|
||||
Reference in New Issue
Block a user