Commit Graph

47594 Commits

Author SHA1 Message Date
af395ada12 - fix bug #479
crash when deleting all curves from Curve Object, when EditButtons open.
  Bad memory reference, caused by using an unsupported feature in
  interface.c... fixed by not using that feature! (making buttons with NULL
  pointers)
2003-08-17 13:42:50 +00:00
3a6581ca22 - fix bug #480
SHIFT+C in 3dWindow didnt update the other 3d windows, when open.
2003-08-17 13:02:17 +00:00
29edbab2c9 - fix bug #481
when adding a new scene in a Screen without buttons window, a pointer
  was referenced which is zero
2003-08-17 12:56:41 +00:00
17eac8a60c allow NAN_SDL etc. to be overridden on OS X 2003-08-16 22:28:19 +00:00
Chris Want
15c996b471 Making Hans' mods to sdl in nan_definition.mk work under irix. 2003-08-16 20:16:40 +00:00
Hans Lambermont
9d9ee107c3 SDL definitions cleanup and fix for FreeBSD (FreeBSD SDL ports
maintainers really *really* only want to use sdl11-config while not
offering sdl-config as well ...)
This patch was briefly discussed on -committers but still might break
SDL stuff.
2003-08-16 11:28:51 +00:00
85245bfe13 - make sure shadowbuffers are tested & corrected for sizes that are
multiples of 16 pixels
2003-08-15 14:39:08 +00:00
abede3ca04 A little more cleanup, removed a bunch of unused vars in the code.
Trying to get rid of some of the extra warnings we can ignore ;)

Kent
2003-08-14 15:18:45 +00:00
80f3d5863e - Transition period for Windows... Part 2! :) 2003-08-12 20:37:45 +00:00
776374f38b - Transition period for Windows... Ctrl+U now saves in
~/.blender, but we still check old locations to avoid people from
  losing settings! :)

  This does not affect any other platform.
2003-08-12 20:37:14 +00:00
258bc61e2a - Fix bug #250:
Blender no longer uses the windows dir as %HOME%
  This also fixes the ".blanguage not found" errors when
  double-clicking .blend files. (Win32)

  Needs testing at Win2k/XP!!!
2003-08-11 18:53:23 +00:00
159f53f0a0 - increased toon value 'size' to 3.14 for diff, and 1.53 for spec, as in
tuhopuu (as max for buttons)
- Sun lamps now do toon specularity too

Hemi lamps dont do any other shader than the old ones still... the
implimentation of it in Tuhopuu is disputable, will solve this for 2.29
2003-08-11 18:18:11 +00:00
2289f3abb6 Exppython:
- Adding argv to the builtin sys Python module:
    Currently only argv[0] is there.  This fixes a weird error that can make
    correct scripts fail.
2003-08-10 23:18:00 +00:00
7163867395 * Fix crash in the getParent() and getTracked() methods of the Python API.
This crash was reported by Jean-Michel Soler (jms).
  Problem was that I was trying to be a little too intelligent. I kept a
  reference to created PyObjects which at some point apparently fails. Keeping
  the object references is not necessary. Now we just create a new PyObject
  when necessary and let Python handle the reference counts.
2003-08-10 10:03:37 +00:00
84f2b08461 - patch provided by Jiri, to prevent polygonizer not to do metaballs
outside of the old boundbox of the Object.

  it's a small fix, the code is still commented in... need further
  work to find out why sometimes balls disappear
2003-08-09 17:09:11 +00:00
e2a702a7b4 - Fixed bug #440, an error resulting from work at optimizing 'glflush'
calls.

  Added a comment in the code why it happens... its about safely
  escaping from buttons/blocks loops before loading a new file!
2003-08-07 14:08:41 +00:00
d24761807d changed a return value for Irix compiler 2003-08-07 13:20:25 +00:00
1e433aeb58 Exppython:
- Fixed crash in NMesh:
    When trying to rename newly created meshes, Blender would crash due to
    invalid id->lib in new_id().
2003-08-07 04:12:44 +00:00
0c1f9dd832 * Updated the Python API module documentation for Object.
Added a couple of examples for some functions.
* Fixed some small documentation problems with regards to the implementation.
2003-08-06 22:08:56 +00:00
577616b358 Exppython:
- Update method scene.update():
    To accept an optional parameter for a "full" update (using set_scene_bg()).
- Updated the docs accordingly.
2003-08-06 19:25:06 +00:00
2db07e8f27 * Updated the Python API module documentation for Object.
This module now contains a complete description - finally.
2003-08-06 17:04:36 +00:00
598da24413 * Fixed crash when editing Ipo curves on Linux.
This problem only occurs on Linux with NVidia cards.
  Fixed by Timo Mihaljov (noid).
2003-08-06 14:57:11 +00:00
cf322b1a9a * Fix problem that edge select hotkey doesn't work on Linux.
Edge select is now _only_ working with ctrl-alt-RMB. Patch provided by
  Roel Spruit (Goofster).
2003-08-06 12:25:24 +00:00
Alexander Ewering
d3e2e5e660 Fix volume envelopes for audio strips, they now work in all spaces. 2003-08-05 13:39:27 +00:00
babd29f1df don't use QuickTime to load tga, png, and jpg images, as this causes
problems when trying to play a sequence of images (fixes bug #430)
2003-08-05 12:44:34 +00:00
05187adc2f removed unuseful function calls in BezTriple.[ch]
general cleaning of Ipocurve.c Ipocurve.h Ipo.h Ipo.c
updated doc
2003-08-05 10:19:28 +00:00
683c322b0e Exppython:
- Fixed bug #399:
    Old bug on NMesh: segfault on NMesh.Face(vertexlist).
- Fixed bug #433:
    "Typo" on Armature: bone's setQuat method was changing bone->head, not
    bone->quat.
2003-08-05 03:45:31 +00:00
Chris Want
4796c8599b Irix mips3 build, Part 2
Ensuring that the build uses the rebuilt
mips3 libs.

Please test!
2003-08-04 03:26:07 +00:00
41211edfee Exppython:
Text module: trying to get the filename attribute didn't check for NULL.
  Reported by Stani Michiels. Fixed now.
2003-08-02 20:49:31 +00:00
1a0fc24542 Exppython:
Expanding NMesh_update() to accept a parameter to tell it to recalculate
  normals, I introduced an error: new meshes would segfault Blender.  Fixed.
2003-08-02 03:37:16 +00:00
08c1fe6818 Added a new function (member of the Ipo object) EvaluateCurveOn(int pos, float time) which returns the value of the ipo curve number pos at the given time.
Updated doc accordingly.
2003-08-01 19:47:01 +00:00
4ebd7f6301 added path to IMB_imbuf_types.h to include path (needed by Image.c) 2003-07-31 18:34:41 +00:00
fe07b232b7 * got rid of a warning in editipo.c:
changed "get_ipo(key, ..." to "get_ipo((ID *)key, ..." in line 107.
* changed insert_meshkey(Mesh *me) to insert_meshkey(Mesh *me, short offline):
   To call this function from a script, so that it doesn't pop the
   "relative / absolute" dialog window when the "offline" arg is non-zero.

Exppython:

* NMesh module:
   - Added method NMesh.addMaterial(mat) to the NMesh module:
   alternative safer (aka slower) way to add materials.
   - Added optional arg to NMesh_update():
   if given and equal to 1, the mesh normals are recalculated.
   - Fixed NMesh.getVertexInfluences: it was segfaulting when a NULL bone was
   linked to the vertex.  Thanks to Jiba on the bf-python mailing list for
   bug report and sample .blend file.  Also made this method give an IndexError
   when the vertex index is out of range.
* Material module:
   Added specR, specG, specB vars for compatibility with the 2.25 API.
   Pointed by Manuel Bastioni.
* Image module:
    Exposed image width, height and depth parameters.
    From a suggestion by jms.
* BPython Ref Doc:
  - Small updates to reflect the above additions.
  - Added info for the Bone type in the Armature doc.
2003-07-30 21:15:41 +00:00
35c4c3222c * Linking a Mesh object to the base object was not possible. Fixed.
* Clean up of some comments.
2003-07-30 21:02:55 +00:00
a284d65d1c * Updated the Object.py documentation.
Not all is finished, but we're getting there.
2003-07-30 20:52:35 +00:00
8a558f2e45 * Fixed crash in Object.getTracked() method
It tried to create a new Object from the tracked variable, when the variable
  was NULL. Ouch.
2003-07-30 18:47:05 +00:00
cef267684e cvs maillist test. pls ignore. 2003-07-29 14:22:08 +00:00
9aef0bab5c Modified Text alignment, it now aligns from the origin (centre) of the Text object. 2003-07-29 13:36:18 +00:00
Chris Want
d58a5fa269 Added the variable NAN_NO_OPENAL to force building without
openal. Set NAN_NO_OPENAL to true for this behavior.
Also removed a comment about EXPYTHON, which is obsolete.
2003-07-27 17:09:19 +00:00
916f527253 * Fixed problems in with script linking.
I had to update many files to get this to work.
2003-07-27 15:56:32 +00:00
2222fc7168 added functions World_CheckPyObject World_FromPyObject World_CreatePyObject and World_compare 2003-07-27 13:53:29 +00:00
c886b5a7bf Exppython docs:
Fixing a small comment in the nmesh doc, to avoid confusion.
2003-07-26 20:19:01 +00:00
28e4b0118c added function buildParts 2003-07-25 19:53:42 +00:00
7b324bef33 bug fixes in functions getLocation and similar.
added buildParts() methods, which forces the computation of the partivcle system.
2003-07-25 19:52:51 +00:00
65de07aeec removed a debug message 2003-07-25 09:00:01 +00:00
13f7233f2f - tiny changes:
- more crispy splash screen from Matt
  - insert key menu reworded in more logical way ("Nah, the other kind" :)
2003-07-23 09:47:22 +00:00
33700b8b65 fix bug #397:
shift+o caused a crash if no object was active (tsk...)
2003-07-23 00:24:42 +00:00
46cbeb28a0 bugreport from intrr:
- spec was at wrong location in shaded view
- shaded view didnt do 'nospec' and 'nodiffuse' options

Both fixed!
2003-07-22 21:50:21 +00:00
Alexander Ewering
ae848a97c4 Images in Sequence editor work again! Isn't this great! :) 2003-07-22 21:17:30 +00:00
28495ad12b - fixed .B.blend, with hacked in version number 2.27... otherwise it does
not show a splash, hah!
2003-07-22 20:38:15 +00:00