mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 10:44:26 +00:00
New lightmapper
-Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
This commit is contained in:
parent
6a0473bcc2
commit
1bea8e1eac
434 changed files with 126122 additions and 3384 deletions
|
|
@ -84,8 +84,8 @@ void TextureEditor::_notification(int p_what) {
|
|||
String format;
|
||||
if (Object::cast_to<ImageTexture>(*texture)) {
|
||||
format = Image::get_format_name(Object::cast_to<ImageTexture>(*texture)->get_format());
|
||||
} else if (Object::cast_to<StreamTexture>(*texture)) {
|
||||
format = Image::get_format_name(Object::cast_to<StreamTexture>(*texture)->get_format());
|
||||
} else if (Object::cast_to<StreamTexture2D>(*texture)) {
|
||||
format = Image::get_format_name(Object::cast_to<StreamTexture2D>(*texture)->get_format());
|
||||
} else {
|
||||
format = texture->get_class();
|
||||
}
|
||||
|
|
@ -144,7 +144,7 @@ TextureEditor::~TextureEditor() {
|
|||
//
|
||||
bool EditorInspectorPluginTexture::can_handle(Object *p_object) {
|
||||
|
||||
return Object::cast_to<ImageTexture>(p_object) != nullptr || Object::cast_to<AtlasTexture>(p_object) != nullptr || Object::cast_to<StreamTexture>(p_object) != nullptr || Object::cast_to<LargeTexture>(p_object) != nullptr || Object::cast_to<AnimatedTexture>(p_object) != nullptr;
|
||||
return Object::cast_to<ImageTexture>(p_object) != nullptr || Object::cast_to<AtlasTexture>(p_object) != nullptr || Object::cast_to<StreamTexture2D>(p_object) != nullptr || Object::cast_to<LargeTexture>(p_object) != nullptr || Object::cast_to<AnimatedTexture>(p_object) != nullptr;
|
||||
}
|
||||
|
||||
void EditorInspectorPluginTexture::parse_begin(Object *p_object) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue