From 063a9d92e0af768777f10aaa8e83196cb9467c0b Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 13 Apr 2006 20:47:25 +0000 Subject: [PATCH] always use OBJECT_SHARED --- Aircraft/ufo/ufo.nas | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Aircraft/ufo/ufo.nas b/Aircraft/ufo/ufo.nas index 4e04b86a2..c620c8b80 100644 --- a/Aircraft/ufo/ufo.nas +++ b/Aircraft/ufo/ufo.nas @@ -402,12 +402,10 @@ Model = { var elev = node.getNode("elevation-ft").getValue(); var hdg = node.getNode("heading-deg").getValue(); - var type = "OBJECT_" ~ ((path != nil and split("/", path)[0] == "Models") - ? "SHARED" : "STATIC"); var stg_hdg = normdeg(360 - hdg); var stg_path = tile_path(lon, lat); var abs_path = getprop("/sim/fg-root") ~ "/" ~ path; - var obj_line = sprintf("%s %s %.8f %.8f %.4f %.1f", type, path, lon, lat, + var obj_line = sprintf("OBJECT_SHARED %s %.8f %.8f %.4f %.1f", path, lon, lat, ft2m(elev), stg_hdg); node.getNode("absolute-path", 1).setValue(abs_path);