more drawtypes

This commit is contained in:
BuckarooBanzay 2020-12-03 14:33:57 +01:00
parent c8cf78f74f
commit a99a9f471c

View File

@ -45,6 +45,8 @@ Vue.component("node-info", {
<div class="col-md-6">
<!-- <img :src="previewImage" style="height: 64px; width: 64px;"/> -->
<node-preview-normal v-if="mtinfo.nodes[name].drawtype == 'normal'" :node="mtinfo.nodes[name]"></node-preview-normal>
<node-preview-normal v-if="mtinfo.nodes[name].drawtype == 'glasslike'" :node="mtinfo.nodes[name]"></node-preview-normal>
<node-preview-normal v-if="mtinfo.nodes[name].drawtype == 'allfaces_optional'" :node="mtinfo.nodes[name]"></node-preview-normal>
<div v-else>
No preview available
</div>