Update cl_editor.lua

fix ghost scaling error
This commit is contained in:
shadowscion 2022-05-28 10:31:11 -05:00
parent 2480cf0306
commit ae47674650

View File

@ -1276,7 +1276,6 @@ function PANEL:Think()
end
end
local matrix = Matrix()
local function onPartHover(label)
local self = prop2mesh.editor
if not self then
@ -1325,6 +1324,7 @@ local function onPartHover(label)
end
if partnode.new.scale then
local matrix = Matrix()
matrix:SetScale(Vector(unpack(partnode.new.scale))*scale)
self.Ghost:EnableMatrix("RenderMultiply", matrix)
else