Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

GetSurface will only view top level object of .mdl

Recommended Posts

Most .mdl files have a hierarchy similar to this

STATIC_MESH (< no surface)
- OBJECT THING (< with surface)

The surface count in the latter case will be zero, even if there is a surface in the OBJECT THING
The workaround is to collapse the whole thing in the model editor.
It would be nice if getsurface will check the first child for surface too if the top level doesn't have one because it is exported like this in most modeling software.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...