Commit Graph

49420 Commits

Author SHA1 Message Date
Stefan Gartner
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
Jacques Guignot
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
Willian Padovani Germano
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
Willian Padovani Germano
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
Willian Padovani Germano
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
Jacques Guignot
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
Stefan Gartner
4ebd7f6301 added path to IMB_imbuf_types.h to include path (needed by Image.c) 2003-07-31 18:34:41 +00:00
Willian Padovani Germano
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
Michel Selten
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
Michel Selten
a284d65d1c * Updated the Object.py documentation.
Not all is finished, but we're getting there.
2003-07-30 20:52:35 +00:00
Michel Selten
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
Rob Haarsma
cef267684e cvs maillist test. pls ignore. 2003-07-29 14:22:08 +00:00
Rob Haarsma
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
Michel Selten
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
Jacques Guignot
2222fc7168 added functions World_CheckPyObject World_FromPyObject World_CreatePyObject and World_compare 2003-07-27 13:53:29 +00:00
Willian Padovani Germano
c886b5a7bf Exppython docs:
Fixing a small comment in the nmesh doc, to avoid confusion.
2003-07-26 20:19:01 +00:00
Jacques Guignot
28e4b0118c added function buildParts 2003-07-25 19:53:42 +00:00
Jacques Guignot
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
Jacques Guignot
65de07aeec removed a debug message 2003-07-25 09:00:01 +00:00
Ton Roosendaal
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
Stefan Gartner
33700b8b65 fix bug #397:
shift+o caused a crash if no object was active (tsk...)
2003-07-23 00:24:42 +00:00
Ton Roosendaal
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
Ton Roosendaal
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
Ton Roosendaal
932e9e8316 - new standard .b.blend file which has changes:
- the plane has a material
  - material has texture
  - scene has a world
  - default set 'draw faces' and 'draw edges'

that last one for the noobies, to prevent them complaining!

- added a note in interface.c about the new api doc

- forgot to commit blender.c, for setting the G.f from the file
  (this will save faceselect and vertexpaint mode too)
2003-07-22 19:49:47 +00:00
Michel Selten
43f8138974 * Fix an ugly crash when retrieving an object and trying to get the ipo from
it. Ouch, I really need to remove those small parts of duplicate code for
  2.29 - too much maintanance which eventually goes wrong.
2003-07-22 18:42:57 +00:00
Jacques Guignot
9ab32780ae addition of a small example 2003-07-22 18:11:07 +00:00
Ton Roosendaal
9085330008 - reverted change which only displayed lamp icon in buttons-header when a
lamp was selected.

- left in that; when a lamp is selected with materialbuttons open, it goes
  to lampbuttons automatic, and vice versa
2003-07-22 16:19:55 +00:00
Ton Roosendaal
5574bd234b - fixed 'HOME' option for action window. it had a wrong 'max zoom' setting.
also provided a patch in do_versions to make saved action windows work.

  now you can zoom out nicely again!
2003-07-22 14:28:56 +00:00
Jacques Guignot
68c3a6dccd removed the patch for ipo attr, which had side effects 2003-07-22 13:56:41 +00:00
Ton Roosendaal
7e5a6ec482 - tinsy bit toned down new color for rvk sliders, to match the blender
scheme
- restored commented out test_view2d() call in changeactionspace(). this
  fixes the errors when opening a new or larger action window, with wrong
  layout/matrices
  (HOS: can you verify that doesnt break stuff?)
2003-07-22 12:49:32 +00:00
Chris Want
4f83159bb2 Fixed it so that add nla strip works even when databrowse is not needed. 2003-07-22 02:38:27 +00:00
Willian Padovani Germano
de60889865 Exppython docs:
- Updates and fixes to the documentation files, only, no code involved.
2003-07-22 00:27:03 +00:00
Jacques Guignot
9a5cf3cb66 modified the function getattr, which crashed blender when someone tried to access a NULL field. This function returns now PyNone. 2003-07-21 21:58:13 +00:00
Ton Roosendaal
bf23ed161e - bugfix #178
Well, it fixes the crash, but the cause can still be in wrong freeing
  memory when deleting strips...
  Hos; I leave in the bugreport with a note for you
2003-07-21 21:21:15 +00:00
Wouter van Heyst
d2fe1ea50a - Make the output bin/ directory for every target that needs it.
Fixes build problems where (for example) plugin was to be made before the real
blender targets, and the entire build failed because of this missing directory.
It used to be so that nan_subdirs.mk made the output directory, but that relies
on DIR being correctly set, which is no longer the case.
2003-07-21 20:09:36 +00:00
Ton Roosendaal
aa9f2a5733 - saves the 'draw faces' flag in a file, in fact the entire G.f flag.
WARN: this recompiles other stuff too, outside of the loader. be sure
  to 'make' in source/blender/ or a higher dir.
2003-07-21 19:41:07 +00:00
Ton Roosendaal
85d043ffef - slightly improved icons, again by xype. Now they are less ... er ..
shady!
2003-07-21 18:25:50 +00:00
Ton Roosendaal
5009911788 - lazy pointer check... foei foei ton!
reported bug: deleting object, with material button visible, crash!
  fixed now...
2003-07-21 18:11:35 +00:00
Ton Roosendaal
03ada07a57 - fixed a small error, the change i made before with frontbuffer drawing
of right-mouse selection of objects, now calls a correct glFlush

  only to be noticed at osx and nvidia systems...
2003-07-21 17:46:55 +00:00
Ton Roosendaal
e229cf24e2 - restored proportional hotkey. it now works again as follows:
In editmode;
    press OKEY to toggle proportional editing
    press SHIFT+OKEY to toggle sharp/smooth proportional editing

- outside of editmode, the SHIFT+O toggles subsurf on/off

- its a compromise... :)
2003-07-21 17:44:23 +00:00
Michel Selten
a223e9f055 * Fix small compilation problem in Ipo.c
Moved the declaration of a variable to the beginning of a function.
2003-07-21 17:35:19 +00:00
Jacques Guignot
ee5461b06a reincorporation in the cvs of modifications which had been lost. 2003-07-21 00:08:30 +00:00
Chris Want
2a4fae99ce sdl stuff modified to work well on irix 2003-07-20 23:26:38 +00:00
Chris Want
85f961bdb4 Some manipulations of the keyword 'static' to get
blender to compile
2003-07-20 23:06:59 +00:00
Chris Want
cf495e6655 Support for using the action window as a tool for modifying
(mesh or lattice) RVK IpoCurves: support currently includes:

	- RVK sliders. Pressing the little triangle next to
	  the word 'sliders' in the channel names opens them up.
	- NKEY in the area where the key block names are allows the
	  user to change the name of the keyblock, and the max and min
	  values of the RVK sliders.
	- ability to visualize the keyframes for the IpoCurves when
	  the object is selected.
	- right mouse can be used to select the keys
	- border select in the main area can be used to border
	  select keys.
	- AKEY selects/deselects all of the keys
	- GKEY and SKEY can be used to grab or scale the key
	  selections.
	- XKEY deletes the selected keys.
	- DKEY duplicated the selected keys.
	- VKEY, HKEY and shift-HKEY change the bezier handles for
	  the selected keys.

Please, please, please test!
2003-07-20 23:04:09 +00:00
Ton Roosendaal
9a9cb5448b - changed order for 'draw faces'... it now draws first, then wire and
vertices
2003-07-20 20:38:22 +00:00
Ton Roosendaal
6b070b3d0d - added ALT_RIGHTMOUSE select edges in Mesh editmode
- added 'draw edges' mode in F9 menu
- changed ugly 'draw faces' in a nice transparant :)
- hotkey for screenshots: ALT+CTRL+F3 now works too
2003-07-20 20:25:30 +00:00