-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Description
Is your feature request related to a problem? Please describe.
3DMLoader can occasionally fail to return geometry if render meshes are missing. Right now such warnings are only posted to console. It'll be helpful if these are returned when calling .load() or .parse()
Describe the solution you'd like
A solution may be that the returned object has an array of warnings. Another solution may be that parse and load methods accept an optional onWarning callback.
Describe alternatives you've considered
The current 3DMLoader outputs such messages to console using console.warn() . I've tried a workaround to capture all console.warn messages this way but it's pretty hacky.
Additional context
Below is a screenshot of an example model that was missing render meshes. (not the default Rhino Logo model)
