mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:29:03 +02:00
Sections reorganization
1- Section "behavior" is now split in 2 sections: "behavior" and "scripts" 2- Particles sections: "particles_acceleration" and "particles_spin" has been joined as a new section: "particles_behavior" 3- Particles section: "particles_alpha" has been merged under section: "particles_color"
This commit is contained in:
parent
bb422a3832
commit
29e780e3f1
1 changed files with 35 additions and 42 deletions
|
@ -1063,14 +1063,7 @@ const GROUPS = [
|
||||||
label: "Color Spread",
|
label: "Color Spread",
|
||||||
type: "color",
|
type: "color",
|
||||||
propertyID: "colorSpread",
|
propertyID: "colorSpread",
|
||||||
}
|
},
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "particles_alpha",
|
|
||||||
label: "PARTICLES ALPHA",
|
|
||||||
//isMinor: true,
|
|
||||||
properties: [
|
|
||||||
{
|
{
|
||||||
type: "triple",
|
type: "triple",
|
||||||
label: "Alpha",
|
label: "Alpha",
|
||||||
|
@ -1107,12 +1100,12 @@ const GROUPS = [
|
||||||
step: 0.001,
|
step: 0.001,
|
||||||
decimals: 3,
|
decimals: 3,
|
||||||
propertyID: "alphaSpread",
|
propertyID: "alphaSpread",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "particles_acceleration",
|
id: "particles_behavior",
|
||||||
label: "PARTICLES ACCELERATION",
|
label: "PARTICLES BEHAVIOR",
|
||||||
//isMinor: true,
|
//isMinor: true,
|
||||||
properties: [
|
properties: [
|
||||||
{
|
{
|
||||||
|
@ -1132,14 +1125,7 @@ const GROUPS = [
|
||||||
round: 100,
|
round: 100,
|
||||||
subLabels: [ "x", "y", "z" ],
|
subLabels: [ "x", "y", "z" ],
|
||||||
propertyID: "accelerationSpread",
|
propertyID: "accelerationSpread",
|
||||||
}
|
},
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "particles_spin",
|
|
||||||
label: "PARTICLES SPIN",
|
|
||||||
//isMinor: true,
|
|
||||||
properties: [
|
|
||||||
{
|
{
|
||||||
type: "triple",
|
type: "triple",
|
||||||
label: "Spin",
|
label: "Spin",
|
||||||
|
@ -1414,6 +1400,19 @@ const GROUPS = [
|
||||||
type: "bool",
|
type: "bool",
|
||||||
propertyID: "ignorePickIntersection",
|
propertyID: "ignorePickIntersection",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "Lifetime",
|
||||||
|
type: "number",
|
||||||
|
unit: "s",
|
||||||
|
propertyID: "lifetime",
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
,
|
||||||
|
{
|
||||||
|
id: "scripts",
|
||||||
|
label: "SCRIPTS",
|
||||||
|
properties: [
|
||||||
{
|
{
|
||||||
label: "Script",
|
label: "Script",
|
||||||
type: "string",
|
type: "string",
|
||||||
|
@ -1436,12 +1435,6 @@ const GROUPS = [
|
||||||
propertyID: "serverScriptStatus",
|
propertyID: "serverScriptStatus",
|
||||||
selectionVisibility: PROPERTY_SELECTION_VISIBILITY.SINGLE_SELECTION,
|
selectionVisibility: PROPERTY_SELECTION_VISIBILITY.SINGLE_SELECTION,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: "Lifetime",
|
|
||||||
type: "number",
|
|
||||||
unit: "s",
|
|
||||||
propertyID: "lifetime",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "User Data",
|
label: "User Data",
|
||||||
type: "textarea",
|
type: "textarea",
|
||||||
|
@ -1451,7 +1444,7 @@ const GROUPS = [
|
||||||
propertyID: "userData",
|
propertyID: "userData",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "collision",
|
id: "collision",
|
||||||
label: "COLLISION",
|
label: "COLLISION",
|
||||||
|
@ -1605,23 +1598,23 @@ const GROUPS = [
|
||||||
];
|
];
|
||||||
|
|
||||||
const GROUPS_PER_TYPE = {
|
const GROUPS_PER_TYPE = {
|
||||||
None: [ 'base', 'spatial', 'behavior', 'collision', 'physics' ],
|
None: [ 'base', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Shape: [ 'base', 'shape', 'spatial', 'behavior', 'collision', 'physics' ],
|
Shape: [ 'base', 'shape', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Text: [ 'base', 'text', 'spatial', 'behavior', 'collision', 'physics' ],
|
Text: [ 'base', 'text', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Zone: [ 'base', 'zone', 'zone_key_light', 'zone_skybox', 'zone_ambient_light', 'zone_haze',
|
Zone: [ 'base', 'zone', 'zone_key_light', 'zone_skybox', 'zone_ambient_light', 'zone_haze',
|
||||||
'zone_bloom', 'zone_avatar_priority', 'spatial', 'behavior', 'physics' ],
|
'zone_bloom', 'zone_avatar_priority', 'spatial', 'behavior', 'scripts', 'physics' ],
|
||||||
Model: [ 'base', 'model', 'spatial', 'behavior', 'collision', 'physics' ],
|
Model: [ 'base', 'model', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Image: [ 'base', 'image', 'spatial', 'behavior', 'collision', 'physics' ],
|
Image: [ 'base', 'image', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Web: [ 'base', 'web', 'spatial', 'behavior', 'collision', 'physics' ],
|
Web: [ 'base', 'web', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Light: [ 'base', 'light', 'spatial', 'behavior', 'collision', 'physics' ],
|
Light: [ 'base', 'light', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Material: [ 'base', 'material', 'spatial', 'behavior' ],
|
Material: [ 'base', 'material', 'spatial', 'behavior', 'scripts' ],
|
||||||
ParticleEffect: [ 'base', 'particles', 'particles_emit', 'particles_size', 'particles_color', 'particles_alpha',
|
ParticleEffect: [ 'base', 'particles', 'particles_emit', 'particles_size', 'particles_color',
|
||||||
'particles_acceleration', 'particles_spin', 'particles_constraints', 'spatial', 'behavior', 'physics' ],
|
'particles_behavior', 'particles_constraints', 'spatial', 'behavior', 'scripts', 'physics' ],
|
||||||
PolyLine: [ 'base', 'spatial', 'behavior', 'collision', 'physics' ],
|
PolyLine: [ 'base', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
PolyLine: [ 'base', 'spatial', 'behavior', 'collision', 'physics' ],
|
PolyLine: [ 'base', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
PolyVox: [ 'base', 'spatial', 'behavior', 'collision', 'physics' ],
|
PolyVox: [ 'base', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
Grid: [ 'base', 'grid', 'spatial', 'behavior', 'physics' ],
|
Grid: [ 'base', 'grid', 'spatial', 'behavior', 'scripts', 'physics' ],
|
||||||
Multiple: [ 'base', 'spatial', 'behavior', 'collision', 'physics' ],
|
Multiple: [ 'base', 'spatial', 'behavior', 'scripts', 'collision', 'physics' ],
|
||||||
};
|
};
|
||||||
|
|
||||||
const EDITOR_TIMEOUT_DURATION = 1500;
|
const EDITOR_TIMEOUT_DURATION = 1500;
|
||||||
|
|
Loading…
Reference in a new issue