PSp..om
349c9d9e4a
Modified to use the new SafeArrayList for children and controls.
...
This means it is possible for a control to modify its own
node hierarchy in a way that might have caused random skipping
at best and index out of bounds exceptions at worse.
Also, users can iterate over children and detach them at the
same time using standard for each constructs.
Performance is the same for me though I'd expected it to be
at least slightly faster given that most inner loops now use
direct array access. My scenes must not exploit this much.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7857 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
PSp..om
11ab79a766
Added a custom array-based List class that buffers modifications
...
in such a way that the list can be modified while being iterated.
Furthermore, it exposes the raw array "snapshot" for iteration
simplifying some code elsewhere.
I've left comments in the code as to some beneficial mods that
could be made for the target use-cases.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7856 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
b8826716b1
* Fixed syntax error in ModifierHelper
...
* Other minor fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7855 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
PSp..om
a0dea25ec5
Fixed an event ordering issue. The server now only
...
first the connection added event after sending the
connect confirmation to the client. This prevents
a resource deadlock if the connection listener
tries to send a message to the client and the
client tries to send a response back... since the
client won't have been fully initialized yet.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7854 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
a67dbf9977
Moving loading object animation modifier to ModifierHelper class.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7852 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
d90f6e7e18
Android: Allow custom app instantiation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7851 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
2f8ae09033
Android: Fixed a race condition in OGLESContext which sometimes called initialize() more than once, added screen resolution setting and invert mouse x to harness
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7850 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
026abb5a74
update: removed tileLoaded from TerrainGridListener, one should use tileAttached and tileDetached instead.
...
updated the tests as well
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7849 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
bf72c7975b
* Reverted normen's confusion
...
* TGA loader now properly fails on grayscale formats
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7848 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
7cc3592f0f
- revert ByteBuffer changes for native bullet objects (not asset data!)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7847 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
80ac165e67
* Removed evil code
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7846 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
a24becee32
* Replaced all usages of ByteBuffer.allocateDirect() with BufferUtils.create***Buffer() so that memory can be tracked
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7845 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
7b93faa8e1
fixed but with normals not updating in terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7844 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sky..ok
24dd8692f6
Fixed grammar in the installer wizard; Added description of jMP to the description field
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
668eaf9cfb
changed TerrainGrid methods to protected access
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7842 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
a5511a19dc
pulled ImageBasedHeightmap height color calculation out so it can be customized by subClasses
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7841 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
dde0c0a885
Fix: extended TerrainGridListener with ozonegrif's extension
...
this allows physics to be handled by the user rather than manipulating in the grid
see tests for details
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7840 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
1403574835
Fix to properties storing (bad casting removed).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
491b0f8bce
Fix to loading properties. They are now assigned to Spatial and not only to Geometry.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
549dda881c
Fix: I left a useless parameter in test
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
07e096ae71
Fix: the new way to add physics to terrainGrid is to use the listener interface, see updated tests
...
new heightmaps are provided for TerrainGridTest
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7836 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
4eeab63f9f
fixed -1 offset in TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7835 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
1a08b7b0f6
* fixed lod bug in TerrainGrid
...
* flipped the grid orientation to match the Quad's orientation
* removed blocking call to loading thread
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
feef9dc6d5
* added an UpdateControl so you can easily enqueue tasks into jme's update loop
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7832 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
f8df2f00cc
* Fixed syntax errors and crashes with shadow processor and filters
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7831 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
08e5d1a68f
fixed AbstractHeightMap bounds check, thanks ozonegrif
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7830 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
7b0f06ff4d
Android: added mouseEventsInvertY option to Harness
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7827 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
bb718f942c
* javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7826 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
db83e48019
* fixed terrainGrid NPE on executor
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7825 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
1a72ca91b1
* simplified terrain tests, only passing in single camera
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7824 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
9407f4c3d0
* delayed creation of TerrainQuad executorService unless absolutely needed
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Sha..om
b2c7849355
* Added stereo 3D to AppSettings
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7822 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
235646f38f
* Minor shader formatting
...
* Particles now have proper glow
* Fixed bug where references to static variables would stay in ParticleEmitter and particleInfluencer, causing havoc
* Fixed warning in InputManager when using ScreenshotAppState
* TestEverything now uses TangentBinormalGenerator, since before there was no tangents for the floor
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
e3574d2fe7
part 2, renaming
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7820 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
1a78dd200c
removed unused geomap classes, replaced with single GeoMap class (part 1 of 2 part commit, blasted netbeans)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7819 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
c5d0b7b8e8
removed redundant RawArrayHeightMap
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7818 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
7eccfdec36
SDK - Added code check for TempVars release
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7817 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
cdd882ae23
- remove false AssetData setExtension from FilterDataObject
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7816 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
e3748e6ea2
- show global assetpack license in single items properties if no license is specified for that item
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7815 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
12287736e6
SDK - Filter Editor :
...
- Filters can now be reordered by drag and drop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7814 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
87737f96e0
* Fix BillboardControl "Spatial was not updated before rendering" crash
...
* Add F5 key to hide FPS/stats
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7813 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
bffe191275
* Fix NullPointerException in MaterialHelper
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7812 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
14aa1dfec3
SDK - Filter Editor :
...
- Fixed Delete menu
- Filters can now be reordered by rightclick on the node> move up, move down
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7811 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
65de002a7a
- fix texture repeat in MaterialExtensionLoader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7810 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
ba85c7c9d9
- fix AddToProject adding to scenecomposer too
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7809 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
a4f1eb8b2c
- add project selection in AssetPack "add to project" for unclear situations
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7808 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
324750e4aa
- fix polyoffset in "create j3m" generated files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7807 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
1809a23f44
SDK - Filter Editor :
...
- Added a disable/enable filter item in the context menu in the filter explorer (default action)
- Changed filter icon and created a propper package for filter related icons
- Filter icon now switch from enabled to disabled
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7805 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
542108d108
SDK : Fixed unused import
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7804 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
82e46247e3
- improve message to "Add to project" about usage
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7802 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago