Jump to content
Developer Wiki and Function Reference Links ×

VS:CreateThumbnailPopup - How to change the render mode to "shaded"?


Recommended Posts

The thumbnail popup is going to use whatever view and render mode the Resource Manager is using.  As far as I know, there is no way to force it to be one view or another.  There is a way to script out changing the view and render mode for the object definition using SetObjectVariableInt(<handle>,1152,<choice>) for thumbnail view and SetObjectVariableInt(<handle>,1153,<choice>) for render mode, but would normally also require the use of UpdateThumbnailPreview to work.  If you didn't want to affect the Resource Manager for the file, you could potentially store the current view and render mode of the objects into an array, change to 3D view and shaded, then change back to the original after the dialog handler has been concluded.

 

image.thumb.png.8caf24ef9a5db9822357d8e61fe88774.png

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...