Fix: Mistakes in previous build error fix

- Fix typo in error message
- Add definition so the node actually works
This commit is contained in:
Hans Goudey
2024-06-10 23:19:13 -04:00
parent 42715f2ecc
commit c7a0441778
2 changed files with 2 additions and 1 deletions

View File

@@ -247,6 +247,7 @@ if(WITH_IO_STL)
PRIVATE bf_io_common
PRIVATE bf_io_stl
)
add_definitions(-DWITH_IO_STL)
endif()
if(WITH_BULLET)

View File

@@ -74,7 +74,7 @@ static void node_geo_exec(GeoNodeExecParams params)
}
#else
params.error_message_add(NodeWarningType::Error,
TIP_("Disabled, Blender was compiled without OpenSubdiv"));
TIP_("Disabled, Blender was compiled without STL I/O"));
params.set_default_remaining_outputs();
#endif
}