When the application is first opened, the functions for the id/material mapping are called twice.
When the application is first opened, the functions for the id/material mapping are called twice.