python wrap: fix undefined FILLED/SKETCH constants in pcbnew.py
Fixes #6070 https://gitlab.com/kicad/code/kicad/issues/6070
This commit is contained in:
parent
d4eb7b0f3d
commit
b907f79485
|
@ -80,6 +80,7 @@ principle should be easily implemented by adapting the current STL containers.
|
|||
// headers/imports that must be included in the _wrapper.cpp at top
|
||||
|
||||
%{
|
||||
#include <outline_mode.h>
|
||||
#include <macros.h>
|
||||
#include <cstddef>
|
||||
#include <eda_item.h>
|
||||
|
@ -107,6 +108,7 @@ principle should be easily implemented by adapting the current STL containers.
|
|||
%ignore GetNewConfig;
|
||||
|
||||
// header files that must be wrapped
|
||||
%include <outline_mode.h>
|
||||
%include macros.h
|
||||
%include core/typeinfo.h
|
||||
%include eda_item.h
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
/* Options to draw items with thickness ( segments, arcs, circles, texts...) */
|
||||
enum OUTLINE_MODE
|
||||
{
|
||||
SKETCH = 0, // sketch mode: draw segments outlines only
|
||||
FILLED = 1 // normal mode: solid segments
|
||||
SKETCH = 0, // sketch mode: draw segments outlines only
|
||||
FILLED = 1 // normal mode: solid segments
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue