AWS Thinkbox Discussion Forums

Update View Cache not working anymore

1.0.1.30288


  1. Create PRT Loader
  2. Add PRT file
  3. Set viewport display mode to “Loader’s Material Color”
  4. Assign material slot #1
  5. Click “UPDATE VIEW CACHE”



    Result: Nothing happens

    Expected: Points should turn grey



    I can’t get anything to happen with the UPDATE VIEW CACHE. I have to actually change the point count or change the display mode or change time to force an update.


  • Chad

>1.0.1.30288
>
>1) Create PRT Loader
>2) Add PRT file
>3) Set viewport display mode to "Loader's Material Color"
>4) Assign material slot #1
>5) Click "UPDATE VIEW CACHE"
>
>Result: Nothing happens
>Expected: Points should turn grey
>
>I can't get anything to happen with the UPDATE VIEW CACHE.
>I have to actually change the point count or change the
>display mode or change time to force an update.
>

Yep, I found this one myself today and fixed internally.

You can fix it yourself by opening the file KrakatoaPRTLoader.ms, locating the lines

on btn_updateDisplay pressed do
(
invalidate()
try(delegate.UpdateCullingNodes currentTime)catch()
max views redraw
)

cutting them and pasting them up in the code just before the portion that reads

--<--INSERT HERE!

on spn_percentViewport changed val do countdisplay.updateInfo()
on spn_ViewportLimit changed val do countdisplay.updateInfo()
on chk_enabledInView changed state do countdisplay.updateInfo()

on ddl_ViewportParticleDisplayMode selected value do UpdateGUI()
on chk_copyDensitiesToMapChannel changed state do UpdateGUI()
on ddl_viewLoadMode selected itm do UpdateGUI()
on viewportRollout open
do
(
UpdateGUI()
)
)--end rollout

 

This happened when I was splitting the UI into new smaller rollouts - the event handler of that button was copied one rollout too far...

Thanks!

Privacy | Site terms | Cookie preferences