Commit Graph

47594 Commits

Author SHA1 Message Date
d00ad69b06 - spelling error and example fix 2004-05-15 03:02:11 +00:00
95c546bd9d Adds a 'paint' floating panel to the image window to control brush settings for texture paint mode.
Also adds paint and properties to the view menu in image window.
2004-05-15 02:28:03 +00:00
5d3629fdd8 - Small improvement, check ~/.blender/.bfont.ttf instead of .blender/.bfont.ttf in cwd. 2004-05-13 14:21:08 +00:00
81679446ba Make game users happier.
Don't apply friction to external velocities.  The means motion actuators that set linV will work, without having to be repeatedly triggered.
2004-05-13 13:07:38 +00:00
e0e14665fa quick fix -- bug #1217 (Unable to access AA fonts in Linux) 2004-05-12 20:30:18 +00:00
cf2aef1df9 Secured division by extreme values with a FLT_EPSILON. This might
prevent hanging on optimized windows build. That's going to be tested
now!
2004-05-12 19:17:00 +00:00
2825750330 A few fixes to the menus:
* Added the axis constraints (and fixed a bug) in the newly
 added View3D transform menus, and in doing so removed
 some duplicated code from toolbox.c
* Cleaned up text labelling

Hint:
Remember to use Title Case for menu labels, and only use
an ellipsis (...) when the menu opens up another new
dialog like a panel or a pupmenu(). The ellipsis indicates
"there is something more to come" and that no action,
mode-change, whatever will be executed immediately.
2004-05-12 16:53:11 +00:00
Stephen Swaney
e80a814360 bugfix from bpy mail list:
Object.setEuler() was not accepting old style args of 3 floats.
2004-05-12 08:06:15 +00:00
2713e9a7e4 2.33a splash 2004-05-11 21:54:44 +00:00
7a4e80b460 Little things pending for menus...
- grab/rot/scale sublevel in object pulldown (mostly as hotkey reminder)
- added missing hotkeys to 2 toolbox items
2004-05-11 21:40:39 +00:00
fc2171c37a Added warning message on attempt to join 2 Meshes with vertex keys.
That feature is not available... and I doubt that'll be soon. :)
2004-05-11 19:08:02 +00:00
34d3b2c2e4 Changed printing an empty string to print "0" for files for zero size
in file selector.
Thanks Joilnen for pointing to this line.
2004-05-11 12:50:04 +00:00
f141aed9dc - bugfix #1197 (New Bone.parent/child Access Destructive)
- a major redo of the Bone module
- BPy_Bone structs are separated into Bone data and python vars. This is necessary for the correct memory allocation of bone data between python and the global armature list.
2004-05-11 08:26:44 +00:00
404d9ab0a2 Tinsy error in undo for selection. Undo_push() was called too late.
Reported by Grogilius. Thanks!
2004-05-10 21:15:18 +00:00
00b44d4db2 - nasty memory corruption on windows for getting home directory
- check to make sure $HOME/.blender exists before returning that
    as the home
2004-05-10 20:35:46 +00:00
208a2937f7 PATCH!
Bug 1258: selecting objects with text drawing (axis, or as draw extra)
causes crashes in IBM cards. Has been tested & verified. A crash on
selecting Empty is often reported... so I just disabled drawing of
text when in selecting-draw mode.
Added comments in code to note it clearly.
2004-05-10 20:14:21 +00:00
c4dc33f18e Bug 1272
Normals for mball where flipped, when using displace mapping.
Fix is both flipping normals, and flipping flip flags.
2004-05-10 18:17:06 +00:00
0238900617 Bug fix for AO and Soft shadow:
When Traceable was off, and the rendered pixel outside Octree, the
intersection was going wrong. Due to the many samples taken not easy
to see, but certainly causing extra noise.
2004-05-09 21:52:23 +00:00
6c7747a6f1 Bug #1264
When in texture buttons, selecting Lamp, Camera or other Object didnt
update the shown texture correctly. Now it nicely switches.
2004-05-09 21:37:36 +00:00
366f58fca7 Added tooltips for Lattice editbuttons. 2004-05-09 21:26:43 +00:00
24a8327d25 fix for bug #1263
When zooming in extreme, scaling things outside of view caused dashed
line to be wrong... it used shorts for screencoords. Made it a float.
2004-05-09 21:15:05 +00:00
4d99961c0d As we dutchies say: "Now breaks my clog!"
Apparently the 'sync' option for alt+a anim playback *can* run without
the sound_init_audio() being called, but it cannot play audio... o_O
(For who doesnt know, syncing was coded abusing audio timing)

Anyhoo. This also fixes #1267, reporting that 'sync' option didnt work.
2004-05-09 20:40:21 +00:00
fe89479036 BPython:
- Manuel from MakeHuman reported a memory leak in NMesh_getVertsFromGroup, should be fixed now.  A pylist was not being decref'ed.
2004-05-09 02:18:51 +00:00
9c3607b1ff Fixed little annoyance that caused previewrender not to clear sometimes.
For example when no Texture exists, and you switch from material to
texture buttons.
2004-05-08 09:42:33 +00:00
ac47d081c4 post 2.33 release commit of the modified SCons files for Os X.
Sconstruct modified so that Blender build on 10.3 without any additionnal
download than source + darwin libs.
defaults settings correct for 10.3.

fixed bug # 1260 : added MT_NDEBUG flag at top-level.
2004-05-08 01:34:39 +00:00
bd50d2f9cd Delete all SOLID shapes at the end of the game engine. They were all being leaked! 2004-05-08 00:25:20 +00:00
83907fc5f7 Num-slider buts and CTRL didn't work when range was > 1.0 2004-05-07 19:56:26 +00:00
16c783d950 Added two more mapping types to World buttons for sky render.
"Sphere": spherical mapping for a 360 degree panorama
"Tube": cylindrical mapping for a 360 degree panorama

Both mappings by default do only the sky (upper) hemisphere. The color
below is same as regular Horiz and Zenith colors, useful for setting
an AO effect.

Sample pics:
http://www.1000skies.com/fullpanos/index.htm (commercial)
2004-05-07 18:03:40 +00:00
934bdb5ee9 When pressing ALT+A, i noticed other windows advance 1 frame. This is
caused by swapbuffers system, which redraws the other windows when the
CFRA timer already advanced 1 frame.

Added an extra redraw to fix this. Could fix report #964, will wait for
JWalton to verify.
2004-05-07 11:59:41 +00:00
e7f6ebb7ca Improved three tooltips:
- Material Shadow and Traceable still mentioned old shadowbuffer methods
- AngMap option in World mapping has better explanation
2004-05-07 11:35:38 +00:00
9936d28382 - switched a strcat and strcpy pair... doh! (well spotted b-ix!)
- appended "./blender" to %HOME% return for Win32. Is consistant now
  with the other returns for Win.
2004-05-06 21:40:38 +00:00
8d18aade3f potential fix for windows crash when it encounters file dates beyond
the nice limited unix range (1970-2034 or so).
Zr will check!
2004-05-06 20:53:05 +00:00
ef0adbd15f Fix related to audio crash. Made the check for when audio_init runs a
tinsy bit more strict. Now it did it for each ALT+A play anim.

I leave the debug print in still, for testing.
2004-05-06 19:57:21 +00:00
dba290879d bug fix #1237
A too strict pointer check caused action browsing in action-window not
to work when object didn't have action yet.
2004-05-06 19:42:38 +00:00
a686d5cb45 fix for bug #1223
Bump was inverted in previewrender for planar preview.
2004-05-06 19:31:16 +00:00
002a855275 fix for bug #1226:
With subsurf level 0, in editmode, the hidden faces where still drawn.
Was caused because subsurfing code then is skipped.
2004-05-06 17:32:17 +00:00
5813ae55d4 Fix Bug #1243: http://projects.blender.org/tracker/?func=detail&aid=1243&group_id=9&atid=125
Use external velocity (velocity set by the game engine - not the physics engine) for Motion Actuators.
2004-05-06 02:13:07 +00:00
f54160ca2f - PyInt_AsLong() was called on a possibly NULL object, this may be
a checked error but is no good anyway
 - Bone_dealloc free'd Blender's actual copy of the Bone! AGH!!!!
 - On syntax errors the python global dictionary was being free'd
    twice. AGH!!! again!

Can someone from the Python team please audit this.
2004-05-05 03:22:22 +00:00
baa54a9a9f - made a VERY IMPORTANT change to usiblender.c 2004-05-04 21:16:39 +00:00
993a438b3f - change to non-typedef'ng method of declaring BCursor in winlay.h
(OSX doesn't like)
2004-05-04 19:40:11 +00:00
14a46b70d3 - removed debug prints that had no meaning to most people
- zr: you lazy developer, you shouldn't commit code that has debug prints
     in it. you ruined my life!!!!
2004-05-04 19:13:35 +00:00
400cd96eff - ugh, do not break open an abstract data type just to add one single
function, especially when you are introducing extra dependencies
    (GHOST) on files that should not have them.
2004-05-04 19:10:55 +00:00
84009013f6 Added Camera Fly Mode (Shift F) to the toolbox.
Kent
2004-05-04 16:25:35 +00:00
ce816de41a Removed the printf that was causing about 50000
"Color depth R=8 G=8 B=8"  lines.....

Kent
2004-05-04 15:04:29 +00:00
c80ec7b808 - fix silly scriptlink running code, pulled out convenient
ID_asPyObject and ID_getScriptlinks functions,
	moved code into BPY_interface.c (where it fit better)
 - EXPP_interface.c is essentially obselete now
 - I didn't test this, I'm sure I broke something, if a Pythonista
	could comment that would be nice (oh and the maintainer too).
2004-05-04 14:27:41 +00:00
648c21947c Use a better compare function for RAS_IPolygonMaterial
Fix sharing verticies - must test pos, normal, uv & colour before sharing (not just index)
2004-05-04 13:17:46 +00:00
f03fa79d28 Fix for bug #945 getVertexArrayLength(x) returns different values on different runs of the game engine.
http://projects.blender.org/tracker/index.php?func=detail&aid=945&group_id=9&atid=125

The material buckets were being sorted by pointer (ie their location in memory.)

Also fixed find shared verticies.
2004-05-04 09:34:02 +00:00
Chris Want
79f3e88021 Build blender with solid-based gameengine on irix using pre-compiled
libs. I turned off the automatic building of solid in extern/ for
irix since the vendor supplied build system does not work well.

Note to JW: this can be built with either mipspro 7.3 or 7.4
(I needed to archive solid with "CC -ar ..." for this to work
with 7.3).
2004-05-04 04:55:24 +00:00
c0a7891382 Apparently the sequencer has its own audiosystem, so the change I did
for init sound only when needed, was not catched by sequencer.

Somehow, however, the SND_xxx library needs to be set when using the
sequencer... so, here a patch!
2004-05-03 21:21:29 +00:00
0c64d26db3 Fixed a bug where From Window mapping in perspective view would give strange
results, caused by a little typo. The solution was proposed by bjornmose.
2004-05-03 13:23:19 +00:00