RenderManager -> removeMainView patch

I’ve noticed that if I tried to remove the view I had created when I clicked on a star to get a preview the viewport would not be removed.



Here’s the diff patch. A simple omission I guess.



[java]# This patch file was generated by NetBeans IDE

Following Index: paths are relative to: C:UsersDanyjMonkeyProjectsjme3srccorecomjme3renderer

This patch can be applied using context Tools: Patch action on respective folder.

It uses platform neutral UTF-8 encoding and n newlines.

Above lines and this line are ignored by the patching process.

Index: RenderManager.java

— RenderManager.java Base (BASE)

+++ RenderManager.java Locally Modified (Based On LOCAL)

@@ -132,9 +132,9 @@

for (int i = 0; i < viewPorts.size(); i++) {

if (viewPorts.get(i).getName().equals(viewName)) {

viewPorts.remove(i);

  •        }<br />
    

return true;

}

  •    }<br />
    

return false;

}

[/java]



Hopefully that diff is done right.

1 Like

Thank you.

applied and committed in last svn revision