Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node/Script Editing Workflow Convenience When Switching Between The Two. #2522

Closed
wyattbiker opened this issue Mar 29, 2021 · 7 comments
Closed

Comments

@wyattbiker
Copy link

Godot Engine v3.2.4.rc4.official - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce GT 650M OpenGL Engine
OpenGL ES Batching: ON

Describe the project you are working on

Working on some Godot ideas.

Describe the problem or limitation you are having in your project

When you click on the script of a Node, the script editing opens and the Inspector changes.

The problem is that if I click back on the same Node it does not present the node 2D/3D view nor does it show the Inspector of that node. You must first click on a different node and then click back on the same node.

2021-03-29 10-10-40 2021-03-29 10_14_05

Describe the feature / enhancement and how it helps to overcome the problem or limitation

This would be a convenience and consistency feature so one does not have to remember to click on a different node or the 2D/3D tab at the top.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

When clicking back on the node, revert back to the 2D/3D view and show inspector of that node.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No it cannot

Is there a reason why this should be core and not an add-on in the asset library?

It is part of the editor workflow

@wyattbiker wyattbiker changed the title Node/Script Editing Workflow inconvenience. Node/Script Editing Workflow Convenience When Switching Between The Two. Mar 29, 2021
@KoBeWi
Copy link
Member

KoBeWi commented Mar 30, 2021

This looks like a bug.

@wyattbiker
Copy link
Author

Didn't occur to me, but now that you mention it, makes more sense it's a bug. @Calinou how is this handled? Can issue be moved or is it a reopen as bug.

@me2beats
Copy link

I think the SceneTree has allow_reselect off, or something.
There are 2D/3D buttons on the top, I use them. Also there are shortcuts to switch between main 2D/3D/ScriptEditor screens.

But yea, I found that uinconvinient too at first.

@KoBeWi
Copy link
Member

KoBeWi commented Mar 30, 2021

Right, this is fixed since RC5: godotengine/godot#46935

@me2beats
Copy link

me2beats commented Mar 30, 2021

Downloaded 3.3.7; the problem still exists
But only sometimes.

Ok it seems I have steps to reproduce:

  1. Select the node
  2. Press Script button or press Ctrl+F3 on the keyboard
  3. Click the selected node
    Nothing happens in this case

@KoBeWi
Copy link
Member

KoBeWi commented Mar 30, 2021

I can't reproduce
tnwVfqX8Po

EDIT:
Ah, you mean Script button. It's not a bug, the node is already in the inspector. godotengine/godot#39539 is related I guess

@wyattbiker
Copy link
Author

I too see the problem too with the Script button on the menu bar. For me rarely used but would be nice to fix for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants