Skip to content

Commit cce432f

Browse files
authored
Merge branch 'master' into update-strucuture-mapserver
2 parents 03211a5 + 7772654 commit cce432f

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

[admin]/admin/client/gui/admin_main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ y=y+B aTab1.VehicleHealth = guiCreateLabel ( 0.26, y, 0.25, 0.04, "Vehicle Heal
269269
aTab3.FPSCurrent = guiCreateLabel ( 0.05, 0.65, 0.25, 0.04, "FPS Limit: 38", true, aTab3.Tab )
270270
aTab3.FPS = guiCreateEdit ( 0.35, 0.65, 0.135, 0.04, "38", true, aTab3.Tab )
271271
aTab3.FPSSet = guiCreateButton ( 0.50, 0.65, 0.10, 0.04, "Set", true, aTab3.Tab, "setfpslimit" )
272-
guiCreateLabel ( 0.63, 0.65, 0.1, 0.04, "( 25-32767 )", true, aTab3.Tab )
272+
guiCreateLabel ( 0.63, 0.65, 0.12, 0.04, "( 25-32767 )", true, aTab3.Tab )
273273

274274

275275
aTab4 = {}

[editor]/edf/edf.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local thisResource = getThisResource()
88
createResourceCallInterface("mapmanager")
99
addEvent"onElementPropertyChanged"
1010

11-
local DUMMY_ID = 3003
11+
local DUMMY_ID = 3045
1212
local DUMMY_DIMENSION = -99
1313
local DUMMY_INTERIOR = 14
1414

[editor]/editor_gui/client/elementproperties.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ layout.pullout = {
4040
items = {
4141
"Clone",
4242
"Delete",
43+
"CopyPOS",
4344
}
4445
}
4546
layout.line = {
@@ -1046,3 +1047,9 @@ function pulloutAction.Delete()
10461047
move_keyboard.disable()
10471048
end
10481049

1050+
function pulloutAction.CopyPOS()
1051+
local x, y, z = getElementPosition(selectedElement)
1052+
local rx, ry, rz = getElementRotation(selectedElement)
1053+
setClipboard(x..","..y..","..z..","..rx..","..ry..","..rz)
1054+
outputChatBox("Position "..x..","..y..","..z..","..rx..","..ry..","..rz.." copied to clipboard")
1055+
end

[editor]/editor_main/client/elementcreation.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function doCreateElement ( elementType, resourceName, creationParameters, attach
3939
creationParameters = creationParameters or {}
4040
if not creationParameters.position then
4141
local targetX, targetY, targetZ = processCameraLineOfSight()
42-
if not elementType == "object" or not elementType == "vehicle" then
42+
if elementType ~= "object" and elementType ~= "vehicle" then
4343
creationParameters.position = nil
4444
else
4545
creationParameters.position = {targetX, targetY, targetZ + .5}

[editor]/move_freecam/move_freecam.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ end
111111

112112
local function onClientRender_freecam()
113113
if (selectedElement and isElement(selectedElement)) then
114-
setElementVelocity(selectedElement,0,0,0) --!w
115114

116115
camX, camY, camZ, targetX, targetY, targetZ = getCameraMatrix()
117116

[gameplay]/freeroam/data/interiors.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<interior name="Caligulas Casino (Roof access)" posX="2264.49" posY="1619.58" posZ="1089.5" world="1"/>
2828
<interior name="Cluckin' Bell" posX="365.67" posY="-11.61" posZ="1000.87" world="9"/>
2929
<interior name="Colonel Fuhrberger's House" posX="2807.62" posY="-1174.1" posZ="1024.58" world="8"/>
30-
<interior name="Diner 1" posX="460.1" posY="-88.43" posZ="998.62" world="4"/>
31-
<interior name="Diner 2" posX="459.35" posY="-111.01" posZ="998.72" world="5"/>
30+
<interior name="Diner 1" posX="448.7435" posY="-110.0457" posZ="1000.0772" world="5"/>
31+
<interior name="Diner 2" posX="460.0" posY="-88.43" posZ="999.62" world="4"/>
3232
<interior name="Didier Sachs" posX="204.33" posY="-168.7" posZ="999.58" world="14"/>
3333
<interior name="Driving School" posX="-2029.72" posY="-119.55" posZ="1034.17" world="3"/>
3434
<interior name="Francis Int. Airport (Baggage Claim)" posX="-1860.82" posY="59.74" posZ="1062.14" world="14"/>

0 commit comments

Comments
 (0)