Permalink
Browse files

fix 3ds max 2018 - No "get" function for undefined

  • Loading branch information...
sunag committed Aug 11, 2017
1 parent b8d9669 commit 9d173e8e421712f3dff41bebd8f738feafb541dc
Showing with 5 additions and 6 deletions.
  1. +1 −1 Exporter/3ds Max/SEA3D/SEA3D.inc
  2. +4 −5 Exporter/3ds Max/SEA3D/SEA3D.ms
@@ -6,7 +6,7 @@
--
global
sea_rawversion = 18002, --VVSSBB ( Exporter version )
sea_rawversion = 18003, --VVSSBB ( Exporter version )
sea_version = 18000 --VVSSBB
global
@@ -7936,12 +7936,11 @@ fn exportSEA3D filename =
seaUnits[1] = units.DisplayType
seaUnits[2] = units.MetricType
local WM_SETREDRAW=0xB
local commandHWND = windows.getChildHWND #max "Command Panel"
local sea3d = undefined
windows.sendmessage commandHWND[1] WM_SETREDRAW 0 0
local WM_SETREDRAW = 0xB
windows.sendmessage (windows.getmaxhwnd()) WM_SETREDRAW 0 0
units.DisplayType = #Generic
units.MetricType = #Centimeters
@@ -7966,7 +7965,7 @@ fn exportSEA3D filename =
units.DisplayType = seaUnits[1]
units.MetricType = seaUnits[2]
windows.sendmessage commandHWND[1] WM_SETREDRAW 1 0
windows.sendmessage (windows.getmaxhwnd()) WM_SETREDRAW 1 0
if sea3d != undefined then
(

0 comments on commit 9d173e8

Please sign in to comment.