mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
egg-mkfont and egg-palettize should use png format by default, instead of rgb
This commit is contained in:
parent
f4cf3bfdd4
commit
cc5c7cad5d
@ -332,7 +332,7 @@ run() {
|
||||
}
|
||||
if (_output_glyph_pattern.empty()) {
|
||||
// Create a default texture filename pattern.
|
||||
_output_glyph_pattern = get_output_filename().get_fullpath_wo_extension() + "%03d.rgb";
|
||||
_output_glyph_pattern = get_output_filename().get_fullpath_wo_extension() + "%03d.png";
|
||||
}
|
||||
if (_output_palette_pattern.empty()) {
|
||||
// Create a default texture filename pattern.
|
||||
|
@ -116,7 +116,7 @@ Palettizer() {
|
||||
_coverage_threshold = 2.5;
|
||||
_aggressively_clean_mapdir = true;
|
||||
_force_power_2 = true;
|
||||
_color_type = PNMFileTypeRegistry::get_global_ptr()->get_type_from_extension("rgb");
|
||||
_color_type = PNMFileTypeRegistry::get_global_ptr()->get_type_from_extension("png");
|
||||
_alpha_type = (PNMFileType *)NULL;
|
||||
_shadow_color_type = (PNMFileType *)NULL;
|
||||
_shadow_alpha_type = (PNMFileType *)NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user