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

godot support 2.2 #4

Open
Gibbz opened this issue Jan 24, 2017 · 1 comment
Open

godot support 2.2 #4

Gibbz opened this issue Jan 24, 2017 · 1 comment

Comments

@Gibbz
Copy link

Gibbz commented Jan 24, 2017

add on doesnt work on 2.2

@eye776
Copy link

eye776 commented Feb 2, 2017

To get rid of the infinite loop, in GrassPlugin.gd:161 replace
return "".plus_file( path + '/resources')
with
return path.plus_file('/resources')
To get the plugin to display, in GrassPlugin.gd:252 replace
add_custom_control(CONTAINER_SPATIAL_EDITOR_SIDE, grass_editor)
with
add_control_to_container(CONTAINER_SPATIAL_EDITOR_SIDE, grass_editor)

The plugin will at least start now (tested with official 2.1.2 and 3.0alpha).
It still won't work properly because the API has changed quite a bit, but it should be a start.
I could look into this more when I'll have time.

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

No branches or pull requests

2 participants