VR headset object management
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</g>
|
||||
</teleport>
|
||||
<v-card v-if="selected" :title="modelValue.title" class="mx-2" variant="text">
|
||||
<asset-selector @select="assignGameObject" type="GameObject">
|
||||
<asset-selector @select="assignGameObject" :type="['GameObject', 'Player']">
|
||||
<template v-slot:activator="props">
|
||||
<v-btn v-bind="props" prepend-icon="mdi-panorama-outline" color="success" block>Choose game object</v-btn>
|
||||
</template>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</g>
|
||||
</teleport>
|
||||
<v-card :title="modelValue.title" v-if="selected" class="mx-2" variant="text">
|
||||
<asset-selector @select="assignEnvironment" type="Scene">
|
||||
<asset-selector @select="assignEnvironment" :type="['Scene']">
|
||||
<template v-slot:activator="props">
|
||||
<v-btn v-bind="props" prepend-icon="mdi-panorama-outline" block color="success" class="py-4">Choose environment</v-btn>
|
||||
</template>
|
||||
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
target: null,
|
||||
assetSelector: {
|
||||
active: false,
|
||||
type: 'Scene'
|
||||
type: ['Scene']
|
||||
},
|
||||
dialog: false,
|
||||
expandDrawer: false,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</g>
|
||||
</teleport>
|
||||
<v-card v-if="selected" :title="modelValue.title" class="mx-2" variant="text">
|
||||
<asset-selector @select="assignTaskIntro" type="Descriptive">
|
||||
<asset-selector @select="assignTaskIntro" :type="['Descriptive']">
|
||||
<template v-slot:activator="props">
|
||||
<v-btn v-bind="props" prepend-icon="mdi-panorama-outline" color="success" block>Choose task description</v-btn>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user