Made Debugger's Video Memory tab show correct resource paths.
Made Debugger's Video Memory tab show correct resource paths. The Icons are still missing but that is due to the get_icon(type, "EditorIcons") for type = "Texture" being missing. Adding that icon would fix it.
This commit is contained in:
parent
d4df4c1475
commit
8f89e2b490
2 changed files with 11 additions and 0 deletions
|
|
@ -423,6 +423,15 @@ ImageTexture::~ImageTexture() {
|
|||
|
||||
//////////////////////////////////////////
|
||||
|
||||
void StreamTexture::set_path(const String &p_path, bool p_take_over) {
|
||||
|
||||
if (texture.is_valid()) {
|
||||
VisualServer::get_singleton()->texture_set_path(texture, p_path);
|
||||
}
|
||||
|
||||
Resource::set_path(p_path, p_take_over);
|
||||
}
|
||||
|
||||
void StreamTexture::_requested_3d(void *p_ud) {
|
||||
|
||||
StreamTexture *st = (StreamTexture *)p_ud;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue