use unique_ptr to hold the Layers vector

This commit is contained in:
2019-02-24 13:19:15 +01:00
parent 3d1412aee2
commit dfa44dbb55
13 changed files with 216 additions and 200 deletions

View File

@@ -640,8 +640,8 @@
<node height="20" justify="center" margin="5 0 0 0"><text text="Wireframe"/></node>
<!--<node height="20" justify="center"><text text="Thickness"/></node>-->
<node height="20" justify="center"><text text="Height"/></node>
<node height="20" justify="center"><text text="L-Yaw"/></node>
<node height="20" justify="center"><text text="L-Pitch"/></node>
<node height="20" justify="center"><text text="Light Yaw"/></node>
<node height="20" justify="center"><text text="Light Pitch"/></node>
<node height="20" justify="center"><text text="Ambient"/></node>
<node height="20" justify="center"><text text="Radius"/></node>
<node height="30" justify="center" margin="5 0 0 0"><text text="Samples"/></node>
@@ -650,9 +650,11 @@
<node dir="col" align="center" grow="1" width="1" flood-events="1" color=".3" >
<node height="30" width="100%" dir="row" pad="0 1 0 1">
<node width="20" grow="1" pad="0" dir="row">
<button id="grid-heightmap-load" text="..." width="20" height="30" margin="0 2 0 0"></button>
<button id="grid-heightmap-clear" text="Clear" width="45" height="30" margin="0 2 0 0"></button>
<button id="grid-heightmap-reload" text="Reload" width="55" height="30"></button>
<button id="grid-heightmap-load" text="Open" grow="1" width="52" height="30" margin="0 2 0 0"/>
<button id="grid-heightmap-clear" text="Clear" grow="1" width="55" height="30" margin="0 2 0 0"/>
<button-custom id="grid-heightmap-reload" pat="2">
<icon icon="arrow_rotate_clockwise" width="30" height="30"/>
</button-custom>
</node>
</node>
<node height="30" pad="1" width="100%" dir="row" margin="5 0 0 0">