Skip to content

Conversation

@quazi-irfan
Copy link
Contributor

…rol and CharacterControl. Fix issue #1008

@stephengold
Copy link
Member

Nice work.

One correction: spatials are not attached to controls; controls are added to spatials. Could you please change the javadoc accordingly?

@quazi-irfan
Copy link
Contributor Author

It there a way to write it more clearly? I am not sure if it's the best way to write it.

@stephengold
Copy link
Member

The way you have it is okay.
Note how the field is documented above:

    /**
     * spatial to which this control is added, or null if none
     */

@quazi-irfan
Copy link
Contributor Author

Then perhaps the doc should say, returns the spatial the control is added to, or null if control is not attached to a spatial yet.

@stephengold
Copy link
Member

Sure. Sounds good.

@stephengold
Copy link
Member

Okay, I think this is ready to integrate. I'll leave it open another day in case anyone else wants to review it.

@tlf30
Copy link
Contributor

tlf30 commented Mar 19, 2019

Looks good to me!

@stephengold stephengold merged commit 76049c7 into jMonkeyEngine:master Mar 19, 2019
@quazi-irfan quazi-irfan deleted the FixIssue1008 branch March 23, 2019 02:44
@quazi-irfan quazi-irfan restored the FixIssue1008 branch March 23, 2019 02:48
@quazi-irfan quazi-irfan deleted the FixIssue1008 branch March 23, 2019 02:48
@stephengold stephengold added this to the v3.3.0 milestone Jul 8, 2019
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

Successfully merging this pull request may close these issues.

3 participants