Skip to content

Commit

Permalink
fixed global using namespace issue with compilation and reverted rece…
Browse files Browse the repository at this point in the history
…nt change to transforms that reseted it to default
  • Loading branch information
andresgonzalezdak committed Mar 1, 2024
1 parent ace0fa9 commit a580424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/Psd/extension/PsdTextLayerUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,6 @@ namespace textLayers
layerData->fontColor[2] = -1.f;
layerData->fontColor[3] = 1.f;

layerData->transform[0] = 1.f;
layerData->transform[1] = 0.f;
layerData->transform[2] = 0.f;
layerData->transform[3] = 1.f;
layerData->transform[4] = 0.f;
layerData->transform[5] = 0.f;

layerData->fontSize = -1.f;
layerData->leading = -1.f;
layerData->baseline = -1.f;
Expand Down
4 changes: 2 additions & 2 deletions src/Psd/extension/PsdTextLayerUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
#include <unordered_map>
#include <functional>

using namespace std;

PSD_NAMESPACE_BEGIN

struct Layer;
class Allocator;

namespace textLayers
{
using namespace std;

enum JUSTIFICATION_TYPE : int8_t
{
JUST_RIGHT = 0,
Expand Down

0 comments on commit a580424

Please sign in to comment.