mirror of
https://github.com/shadowscion/Prop2Mesh.git
synced 2025-03-04 03:13:03 -05:00
Update cl_editor.lua
fix ghost scaling error
This commit is contained in:
parent
2480cf0306
commit
ae47674650
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user