Comments (9)
currently this feature is broken due to bug in Godot engine it self. The EditorInspector class signal is main blocking issue to resolve. I am opening this bug report in Godot main repository. i am hopping Godot still do maintenance release in near future so i can complete this feature.
from addons-btree.
object_id_selected: Emitted when the Edit button of an Object has been pressed in the inspector.
Silly question, but what's the 'edit' button of an object?
I'm currently using init.gd, func selection_changed() to track if a node with a BTREE is currently selected.
[edited to remove non-related error in my code, which I thought might have been related :) ]
from addons-btree.
Selection changed to handle tree in local tree. Remote tree need editor inspector
"object_id_selected ( int id )
Emitted when the Edit button of an Object has been pressed in the inspector. This is mainly used in the remote scene tree inspector'
from addons-btree.
I am not quite sure what this edit button means. Sorry my english is not so good.
from addons-btree.
If really needed maybe btree can make it own remote scene tree inspector for current running instance. This can eliminate blockage within godot it self. But required heavy net code to send scene tree data and current btree state. This is not ideal since godot already sending the same thing. Plus this lib written in gdscript, debugging maybe harder because the heavy net code operation can fill the entire profiler stack and make things worse.
from addons-btree.
i am assuming just by selecting the node in remote inspector can return such id ? i am not aware about EDIT button anywhere so... what do you think ?
The debugger idea is get the object id, reverse the id to actual BTREE Node by GDSCRIPT function Object instance_from_id(id), get the runtime_tree then animate the color in editor.
from addons-btree.
closed with #16
from addons-btree.
I just learned that on old versions of Godot, the Workspace toolbar had an "edit" button (see the first image, just under the "Script" tab: https://docs.godotengine.org/en/2.1/learning/editor/2d_and_3d_keybindings.html), which is no longer there in the current version. Perhaps object_id_selected() is not supposed to do anything anymore.
from addons-btree.
Too bad i just rewrite custom inspector for it. Its already in my local branch and never pushed.
from addons-btree.
Related Issues (20)
- Redo does not work HOT 2
- GOAP integration HOT 11
- Add option for Search Node Next and Search Node Previous HOT 7
- custom color for each node HOT 5
- Using variables as parameters of a task. HOT 1
- add an "init" callback for a task node. HOT 5
- Script Error HOT 3
- smaller width of decorator nodes to review deep tree easily
- support "Succeeder" Node HOT 2
- is_init() hasn't been re-called if disable and enable a tree at runtime HOT 3
- Thanks for the addon :D HOT 2
- Feature request, label for decorators. HOT 5
- Missing documentation HOT 3
- rename task.failed to task.fail HOT 1
- Swapping tabs in editor clears nodes that were added on a different tab
- Hard to connect nodes HOT 1
- Priority Condition param turns from Number to Text HOT 9
- Invalid call. Nonexistent function 'write' in base 'Control (client_debugger.gd)'. HOT 3
- Invalid range checking causes unreachable code in runtime.gd HOT 1
- Update for Godot 4.x HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addons-btree.