mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
add link, fix group order
This commit is contained in:
parent
d5dc93e800
commit
9afb111fbe
1 changed files with 96 additions and 91 deletions
|
@ -969,6 +969,102 @@ const GROUPS = [
|
|||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "behavior",
|
||||
label: "BEHAVIOR",
|
||||
twoColumn: true,
|
||||
properties: [
|
||||
{
|
||||
label: "Grabbable",
|
||||
type: "bool",
|
||||
propertyID: "grab.grabbable",
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Triggerable",
|
||||
type: "bool",
|
||||
propertyID: "grab.triggerable",
|
||||
column: 2,
|
||||
},
|
||||
{
|
||||
label: "Cloneable",
|
||||
type: "bool",
|
||||
propertyID: "cloneable",
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Follow Controller",
|
||||
type: "bool",
|
||||
propertyID: "grab.grabFollowsController",
|
||||
column: 2,
|
||||
},
|
||||
{
|
||||
label: "Clone Lifetime",
|
||||
type: "number",
|
||||
unit: "s",
|
||||
propertyID: "cloneLifetime",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Clone Limit",
|
||||
type: "number",
|
||||
propertyID: "cloneLimit",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Clone Dynamic",
|
||||
type: "bool",
|
||||
propertyID: "cloneDynamic",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Clone Avatar Entity",
|
||||
type: "bool",
|
||||
propertyID: "cloneAvatarEntity",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{ // below properties having no column number means place them after two columns div
|
||||
label: "Cast shadows",
|
||||
type: "bool",
|
||||
propertyID: "canCastShadow",
|
||||
},
|
||||
{
|
||||
label: "Link",
|
||||
type: "string",
|
||||
propertyID: "href",
|
||||
},
|
||||
{
|
||||
label: "Script",
|
||||
type: "string",
|
||||
buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadScripts } ],
|
||||
propertyID: "script",
|
||||
},
|
||||
{
|
||||
label: "Server Script",
|
||||
type: "string",
|
||||
buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadServerScripts } ],
|
||||
propertyID: "serverScripts",
|
||||
},
|
||||
{
|
||||
label: "Lifetime",
|
||||
type: "number",
|
||||
unit: "s",
|
||||
propertyID: "lifetime",
|
||||
},
|
||||
{
|
||||
label: "User Data",
|
||||
type: "textarea",
|
||||
buttons: [ { id: "clear", label: "Clear User Data", className: "red", onClick: clearUserData },
|
||||
{ id: "edit", label: "Edit as JSON", className: "blue", onClick: newJSONEditor },
|
||||
{ id: "save", label: "Save User Data", className: "black", onClick: saveUserData } ],
|
||||
propertyID: "userData",
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "collision",
|
||||
label: "COLLISION",
|
||||
|
@ -1055,97 +1151,6 @@ const GROUPS = [
|
|||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "behavior",
|
||||
label: "BEHAVIOR",
|
||||
twoColumn: true,
|
||||
properties: [
|
||||
{
|
||||
label: "Grabbable",
|
||||
type: "bool",
|
||||
propertyID: "grab.grabbable",
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Triggerable",
|
||||
type: "bool",
|
||||
propertyID: "grab.triggerable",
|
||||
column: 2,
|
||||
},
|
||||
{
|
||||
label: "Cloneable",
|
||||
type: "bool",
|
||||
propertyID: "cloneable",
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Follow Controller",
|
||||
type: "bool",
|
||||
propertyID: "grab.grabFollowsController",
|
||||
column: 2,
|
||||
},
|
||||
{
|
||||
label: "Clone Lifetime",
|
||||
type: "number",
|
||||
unit: "s",
|
||||
propertyID: "cloneLifetime",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Clone Limit",
|
||||
type: "number",
|
||||
propertyID: "cloneLimit",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Clone Dynamic",
|
||||
type: "bool",
|
||||
propertyID: "cloneDynamic",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{
|
||||
label: "Clone Avatar Entity",
|
||||
type: "bool",
|
||||
propertyID: "cloneAvatarEntity",
|
||||
showPropertyRule: { "cloneable": "true" },
|
||||
column: 1,
|
||||
},
|
||||
{ // below properties having no column number means place them after two columns div
|
||||
label: "Cast shadows",
|
||||
type: "bool",
|
||||
propertyID: "canCastShadow",
|
||||
},
|
||||
{
|
||||
label: "Script",
|
||||
type: "string",
|
||||
buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadScripts } ],
|
||||
propertyID: "script",
|
||||
},
|
||||
{
|
||||
label: "Server Script",
|
||||
type: "string",
|
||||
buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadServerScripts } ],
|
||||
propertyID: "serverScripts",
|
||||
},
|
||||
{
|
||||
label: "Lifetime",
|
||||
type: "number",
|
||||
unit: "s",
|
||||
propertyID: "lifetime",
|
||||
},
|
||||
{
|
||||
label: "User Data",
|
||||
type: "textarea",
|
||||
buttons: [ { id: "clear", label: "Clear User Data", className: "red", onClick: clearUserData },
|
||||
{ id: "edit", label: "Edit as JSON", className: "blue", onClick: newJSONEditor },
|
||||
{ id: "save", label: "Save User Data", className: "black", onClick: saveUserData } ],
|
||||
propertyID: "userData",
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "physics",
|
||||
label: "PHYSICS",
|
||||
|
|
Loading…
Reference in a new issue