1859 Commits

Author SHA1 Message Date
PSp..om
3fe5911b66 Adding a comment hinting at maybe why jme nifty text
used to work better and then broke at some point.
The older previously commented out code provided a
better text width value than BitmapFont did before
the recent fixes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 23:48:26 +00:00
PSp..om
596ed7578e Fixed a handful of bugs in the getLineWidth() method.
Essentially, it is doing a parallel and nearly completely
different calculation of line width than the one that
Letters/BitmapText does.  Consolidating this position
model would probably be a good idea someday.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6985 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 23:35:54 +00:00
PSp..om
654763d950 Fixed setText() to invalidate... otherwise,
getTotalWidth(), etc. continue to use the cached
sizes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 22:08:14 +00:00
PSp..om
cfd031530a Modified to let clone work even with a null mesh.
Though if that is your problem it just moved...
hopefully closer to real life.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 20:13:34 +00:00
PSp..om
d159c5e8c3 Throw a more meaningful exception for a missing font
than the NPE that's about to happen otherwise.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 19:45:35 +00:00
nor..67
4fb8579206 - add init dependency to hudson target
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 19:33:39 +00:00
nor..67
1e7c83d126 - change build.xml for engine and sdk to new folders
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6974 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 18:40:33 +00:00
rem..om
0dd27bda09 - Material does not check anymore if a param is defined when clearing it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 17:44:45 +00:00
nor..67
9e53abbb7a move jme3 to trunk
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 12:55:32 +00:00