Replace SHAPE_T::RECT by SHAPE_T::RECTANGLE: RECT creates a collision name
issue with a Windows header on msys2.
Change very similar to the commit 9a47b344 about class PAD_SHAPE.
No actual code change
This commit is contained in:
@@ -56,18 +56,20 @@
|
||||
|
||||
/* Only for compatibility with old python scripts: */
|
||||
const int S_SEGMENT = (const int)SHAPE_T::SEGMENT;
|
||||
const int S_RECT = (const int)SHAPE_T::RECT;
|
||||
const int S_RECT = (const int)SHAPE_T::RECTANGLE;
|
||||
const int S_ARC = (const int)SHAPE_T::ARC;
|
||||
const int S_CIRCLE = (const int)SHAPE_T::CIRCLE;
|
||||
const int S_POLYGON = (const int)SHAPE_T::POLY;
|
||||
const int S_CURVE = (const int)SHAPE_T::BEZIER;
|
||||
const int SHAPE_T_RECT = (const int)SHAPE_T::RECTANGLE;
|
||||
|
||||
%{
|
||||
/* for compatibility with old python scripts: */
|
||||
const int S_SEGMENT = (const int)SHAPE_T::SEGMENT;
|
||||
const int S_RECT = (const int)SHAPE_T::RECT;
|
||||
const int S_RECT = (const int)SHAPE_T::RECTANGLE;
|
||||
const int S_ARC = (const int)SHAPE_T::ARC;
|
||||
const int S_CIRCLE = (const int)SHAPE_T::CIRCLE;
|
||||
const int S_POLYGON = (const int)SHAPE_T::POLY;
|
||||
const int S_CURVE = (const int)SHAPE_T::BEZIER;
|
||||
const int SHAPE_T_RECT = (const int)SHAPE_T::RECTANGLE;
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user