mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Fixes the re-import behavior in the Asset Browser to properly prompt the reimport window with the indicated asset in the AB
Also fixes how the shapeConstructor is searched/parsed when doing reimports vs new import creations Fixes incorrect assetId usage in some of the prototyping shape constructors so they match now
This commit is contained in:
parent
8407fa360c
commit
b54865aa74
13 changed files with 160 additions and 144 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new TSShapeConstructor(ConePrimitive_fbx) {
|
||||
baseShapeAsset = "Prototyping:ConePrimitive";
|
||||
baseShapeAsset = "Prototyping:ConePrimitive_shape";
|
||||
upAxis = "DEFAULT";
|
||||
unit = "-1";
|
||||
LODType = "TrailingNumber";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new TSShapeConstructor(CubePrimitive_fbx) {
|
||||
baseShapeAsset = "Prototyping:CubePrimitive";
|
||||
baseShapeAsset = "Prototyping:CubePrimitive_shape";
|
||||
upAxis = "DEFAULT";
|
||||
unit = "-1";
|
||||
LODType = "TrailingNumber";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new TSShapeConstructor(CylinderPrimitive_fbx) {
|
||||
baseShapeAsset = "Prototyping:CylinderPrimitive";
|
||||
baseShapeAsset = "Prototyping:CylinderPrimitive_shape";
|
||||
upAxis = "DEFAULT";
|
||||
unit = "-1";
|
||||
LODType = "TrailingNumber";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new TSShapeConstructor(SpherePrimitive_fbx) {
|
||||
baseShapeAsset = "Prototyping:SpherePrimitive";
|
||||
baseShapeAsset = "Prototyping:SpherePrimitive_shape";
|
||||
upAxis = "DEFAULT";
|
||||
unit = "-1";
|
||||
LODType = "TrailingNumber";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new TSShapeConstructor(TorusPrimitive_fbx) {
|
||||
baseShapeAsset = "Prototyping:TorusPrimitive";
|
||||
baseShapeAsset = "Prototyping:TorusPrimitive_shape";
|
||||
upAxis = "DEFAULT";
|
||||
unit = "-1";
|
||||
LODType = "TrailingNumber";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new TSShapeConstructor(TubePrimitive_fbx) {
|
||||
baseShapeAsset = "Prototyping:TubePrimitive";
|
||||
baseShapeAsset = "Prototyping:TubePrimitive_shape";
|
||||
upAxis = "DEFAULT";
|
||||
unit = "-1";
|
||||
LODType = "TrailingNumber";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
singleton TSShapeConstructor(cardae)
|
||||
{
|
||||
baseShapeAsset = "./car.dae";
|
||||
baseShapeAsset = "Prototyping:car_shape";
|
||||
singleDetailSize = "0";
|
||||
flipUVCoords = "0";
|
||||
JoinIdenticalVerts = "0";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
singleton TSShapeConstructor(carwheeldae)
|
||||
{
|
||||
baseShapeAsset = "./carwheel.dae";
|
||||
baseShapeAsset = "Prototyping:carwheel_shape";
|
||||
singleDetailSize = "0";
|
||||
flipUVCoords = "0";
|
||||
JoinIdenticalVerts = "0";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
singleton TSShapeConstructor(flierdae)
|
||||
{
|
||||
baseShapeAsset = "./flier.dae";
|
||||
baseShapeAsset = "Prototyping:flier_shape";
|
||||
singleDetailSize = "0";
|
||||
flipUVCoords = "0";
|
||||
JoinIdenticalVerts = "0";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
singleton TSShapeConstructor(hoverboatdae)
|
||||
{
|
||||
baseShapeAsset = "./hoverboat.dae";
|
||||
baseShapeAsset = "Prototyping:hoverboat_shape";
|
||||
singleDetailSize = "0";
|
||||
flipUVCoords = "0";
|
||||
JoinIdenticalVerts = "0";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue