projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imgui stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
blender_export.py
diff --git
a/blender_export.py
b/blender_export.py
index 00c2de474d1d902eb914fd68d90609a8c887a256..73d17059d19fded822a9af16c95c818104bae03d 100644
(file)
--- a/
blender_export.py
+++ b/
blender_export.py
@@
-467,6
+467,10
@@
cxr_graph_mapping = \
"Color": material_tex_image("tex_normal")
}
}
"Color": material_tex_image("tex_normal")
}
}
+ },
+ "Emission":
+ {
+ "Color": material_tex_image("tex_diffuse")
}
}
}
}
@@
-975,7
+979,7
@@
def sr_compile_fonts( collection ):
font.glyph_start = glyph_count
glyph_base = data.glyphs[0].utf32
font.glyph_start = glyph_count
glyph_base = data.glyphs[0].utf32
- glyph_range = data.glyphs[-1].utf32 - glyph_base
+ glyph_range = data.glyphs[-1].utf32
+1
- glyph_base
font.glyph_utf32_base = glyph_base
font.glyph_count = glyph_range
font.glyph_utf32_base = glyph_base
font.glyph_count = glyph_range
@@
-2409,7
+2413,8
@@
class SR_UL_FONT_GLYPH_LIST(bpy.types.UIList):
s1 = c.split(factor=0.3)
c = s1.column()
row = c.row()
s1 = c.split(factor=0.3)
c = s1.column()
row = c.row()
- lbl = chr(item.utf32) if item.utf32 >= 32 and item.utf32 <= 126 else 'ERR'
+ lbl = chr(item.utf32) if item.utf32 >= 32 and item.utf32 <= 126 else \
+ f'x{item.utf32:x}'
row.label(text=lbl)
c = s1.column()
c.prop( item, 'utf32', text='', emboss=True )
row.label(text=lbl)
c = s1.column()
c.prop( item, 'utf32', text='', emboss=True )