forked from 1b-agent/opencadstudio-upstream
Cargo: codec eaa6d79, kernel bb355ca, graph 9c17779
- Gradient stops keep their DWG color book name and book; RGB wins over ACI in a DXF gradient block in either tag order. - MTEXT decimal tab stops keep their alignment character. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d1a14bef91
commit
1070361c0a
11 files changed
+23
-14
No files matched your search
@@ -97,6 +97,7 @@ fn set_hatch_graphic_attribute(
|
||||
g: channel(visible_color[1]),
|
||||
b: channel(visible_color[2]),
|
||||
},
|
||||
..Default::default()
|
||||
},
|
||||
codec::entities::hatch::GradientColorEntry {
|
||||
value: 1.0,
|
||||
@@ -105,6 +106,7 @@ fn set_hatch_graphic_attribute(
|
||||
g: 46,
|
||||
b: 46,
|
||||
},
|
||||
..Default::default()
|
||||
},
|
||||
];
|
||||
}
|
||||
@@ -688,10 +690,12 @@ impl OpenCADStudio {
|
||||
codec::entities::hatch::GradientColorEntry {
|
||||
value: 0.0,
|
||||
color: state.color_1,
|
||||
..Default::default()
|
||||
},
|
||||
codec::entities::hatch::GradientColorEntry {
|
||||
value: 1.0,
|
||||
color: state.color_2,
|
||||
..Default::default()
|
||||
},
|
||||
];
|
||||
hatch.pattern_angle = angle;
|
||||
|
||||
@@ -8142,6 +8142,7 @@ impl OpenCADStudio {
|
||||
codec::entities::hatch::GradientColorEntry {
|
||||
value,
|
||||
color: codec::types::Color::Index(7),
|
||||
..Default::default()
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user