Gerbview allows larger DCodes values (previously DCode id number max 999, now 10000)
This is not the DCodes max count but the DCode id (like in %ADD20C,0.05*%: the id is 20)
This commit is contained in:
parent
0ecf5dea86
commit
937b5bd69a
|
@ -66,10 +66,10 @@ enum APERTURE_DEF_HOLETYPE {
|
|||
};
|
||||
|
||||
/* define min and max values for D Codes values.
|
||||
* note: values >= 0 and > FIRST_DCODE can be used for special purposes
|
||||
* note: values >= 0 and < FIRST_DCODE can be used for special purposes
|
||||
*/
|
||||
#define FIRST_DCODE 10
|
||||
#define LAST_DCODE 999
|
||||
#define LAST_DCODE 10000
|
||||
#define TOOLS_MAX_COUNT (LAST_DCODE + 1)
|
||||
|
||||
struct APERTURE_MACRO;
|
||||
|
|
|
@ -106,7 +106,8 @@ private:
|
|||
*/
|
||||
class GERBER_FILE_IMAGE : public EDA_ITEM
|
||||
{
|
||||
D_CODE* m_Aperture_List[TOOLS_MAX_COUNT]; ///< Dcode (Aperture) List for this layer (max 999)
|
||||
D_CODE* m_Aperture_List[TOOLS_MAX_COUNT]; ///< Dcode (Aperture) List for this layer
|
||||
///< (max TOOLS_MAX_COUNT: see dcode.h)
|
||||
bool m_Exposure; ///< whether an aperture macro tool is flashed on or off
|
||||
|
||||
GERBER_LAYER m_GBRLayerParams; // hold params for the current gerber layer
|
||||
|
|
Loading…
Reference in New Issue