NetLogo / NetLogo/View2.5D

`set-observer-angles` works only after view is open

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Using view2.5d:set-observer-angles at the same time that a patch-view is in the process of opening won't set the angles within the view. The cause is this call to observer.goHome. Removing it introduces rotation, but also changes how the view would look otherwise. This should be investigated and fixed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in view25d/view/MouseableGLWindow.java at the observer.goHome call around line 152, then trace how patch-view opening interacts with set-observer-angles. The fix is done when angles set during opening take effect without introducing rotation or changing the view's normal appearance.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.