Commit Graph

66005 Commits

Author SHA1 Message Date
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
f84d02e42d MSVC 6 debug target finally fixed! (yes, really!) :) 2003-07-26 18:05:20 +00:00
92ff8e298f - fixed include paths for SoundSystem (MSVC 6). 2003-07-26 16:26: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
bde4d40f8b - added sdl.dll to the release makefiles for windows 2003-07-23 18:06:10 +00:00
00ef5ad616 Updated win self-installer script. Still uses the 16-color icon images (sorry broken!) :) 2003-07-23 17:59:27 +00:00
ed074e8630 Don't fail cleaning if the locale directory doesn't exist.
Reported by Frank W. Samuelson among others.
2003-07-23 17:51:40 +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
b83fb8c87c - updated release release number. :) 2003-07-22 20:50:14 +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
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
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
9ab32780ae addition of a small example 2003-07-22 18:11:07 +00:00
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
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
68c3a6dccd removed the patch for ipo attr, which had side effects 2003-07-22 13:56:41 +00:00
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
de60889865 Exppython docs:
- Updates and fixes to the documentation files, only, no code involved.
2003-07-22 00:27:03 +00:00
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
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
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
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
85d043ffef - slightly improved icons, again by xype. Now they are less ... er ..
shady!
2003-07-21 18:25:50 +00:00
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
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
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
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
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
9a9cb5448b - changed order for 'draw faces'... it now draws first, then wire and
vertices
2003-07-20 20:38:22 +00:00
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
ab76e4594a - removed soundsystem projects (now part of intern) (MSVC 6) 2003-07-20 19:52:20 +00:00
20ee6b2b66 - updated intern project files to include soundsystem (MSVC 6) 2003-07-20 19:51:03 +00:00