mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 13:13:10 +02:00
eeshow/: field visibility in schematics completely overrides library
This commit is contained in:
parent
88287cae35
commit
93b7269a3e
@ -120,8 +120,11 @@ static bool comp_eq(const struct comp *a, const struct comp *b)
|
||||
return 0;
|
||||
if (a->units != b->units)
|
||||
return 0;
|
||||
#if 0
|
||||
/* @@@ in-sheet settings override this */
|
||||
if (a->visible != b->visible)
|
||||
return 0;
|
||||
#endif
|
||||
if (a->show_pin_name != b->show_pin_name)
|
||||
return 0;
|
||||
if (a->show_pin_num != b->show_pin_num)
|
||||
|
@ -115,7 +115,13 @@ static bool parse_field(struct sch_ctx *ctx, const char *line)
|
||||
&hor, &vert, &italic, &bold) != 11)
|
||||
return 0;
|
||||
|
||||
if (flags || (comp->comp && !lib_field_visible(comp->comp, n))) {
|
||||
if (flags) {
|
||||
/*
|
||||
* @@@ visibility settings in component only seem to be used only as default
|
||||
* for sheet and are ignored thereafter:
|
||||
*
|
||||
* || (comp->comp && !lib_field_visible(comp->comp, n))) {
|
||||
*/
|
||||
free((char *) txt->s);
|
||||
free(field);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user