mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
flatten text more aggressively
This commit is contained in:
parent
71cb47f94c
commit
04e4ed5700
@ -319,7 +319,9 @@ generate() {
|
|||||||
if (text_flatten) {
|
if (text_flatten) {
|
||||||
SceneGraphReducer gr;
|
SceneGraphReducer gr;
|
||||||
gr.apply_attribs(root);
|
gr.apply_attribs(root);
|
||||||
gr.flatten(root, ~0);
|
gr.flatten(root, ~SceneGraphReducer::CS_within_radius);
|
||||||
|
gr.collect_vertex_data(root);
|
||||||
|
gr.unify(root);
|
||||||
}
|
}
|
||||||
|
|
||||||
return root;
|
return root;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user