Commit Graph

601 Commits

Author SHA1 Message Date
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
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
2ccf7ffb84 * removed the #include .c statements and replaced them with corresponding .h
files.
* updated the build environment to include the needed .c files.
* Updated the modules.h file to expose the necessary functions to other
  modules.
2003-07-20 18:06:06 +00:00
5a7db88f59 - added patches for shaders in the stub... displist.c calls it. Bad Bad! 2003-07-20 17:59:57 +00:00
d5c829e413 - added the 'no diffuse' and 'no specularity' options for Lamps, as were
in Tuhopuu
- added the Tuhopuu feature which displays material-buttons and lamp-
  buttons integrated. saves button presses that way!
2003-07-20 15:55:02 +00:00
502b672219 - translated the main radiosity structure comments 2003-07-20 15:52:25 +00:00
c5d8d5ffe2 new os x icons by xype 2003-07-20 13:38:51 +00:00
45845c51a9 - changed button type for WorldButtns->misi to fit with the others. Just
for a better looks.
2003-07-20 08:58:42 +00:00
4856071402 Exppython:
Still compilation problems, wrong type returned in a function.
2003-07-19 21:04:33 +00:00
b2d1921d26 Exppython:
- Trying to correct a compile problem. IpoCurve_Init wasn't declared in modules.h
2003-07-19 20:44:25 +00:00
9bf630a1f3 WARNING: with makefiles I could not get a stable blender compiled.
do a make clean in source/blender/ to be sure!

- Included the new shaders from Cessen... well, only the shader calls
  themselves. To make sure the shaders work I nicely integrated it

- MaterialButtons: layout changed a bit, but still resembles the old
  layout. The 'shader' options now are located together.

- Shaders are separated in 'diffuse' and 'specular'. You can combine them
  freely.

- diffuse Lambert: old shader
  diffuse Oren Nayar: new shader, gives sandy/silky/skinny material well
  diffuse Toon: for cartoon render

- specular Phong: new spec, traditional 70ies spec
  specular CookTorr: a reduced version of cook torrance shading, does
                     off specular peak well
  specular Blinn: new spec, same features as CookTorr, but with extra
                  'refraction' setting
  specular Toon: new spec for cartoon render

- default blender starts with settings that render compatible!

- works in shaded view and preview-render

- works in unified render

Further little changes:

- removed paranoia compile warnings from render/loader/blenlib

- and the warnings at files I worked at were removed.
2003-07-19 20:31:29 +00:00
8607322385 - fixed bug in renderwin zoom function. You now can press 'Z' in a window
again, and move your mouse around to scan the image.
  MiddleMouse works too, but less intuitive

- at some systems it is still slow, bad clipping code...
2003-07-19 20:19:31 +00:00
3d691c77cf - Blender in background render mode (blender -b) now reacts to CTRL+C
again. You'll have to do it twice... first CTRL+C will send an internal
  break (exit render loops)
- I prefer this in foreground mode too, but Python uses it as well, to
  escape from loops. We have to fix this once.
2003-07-19 20:14:07 +00:00
542f05451a World : got rid of debug messages
Blender : declatation of the module IpoCurve
Ipo : modifications (new attributes) to keep the compatibility with 227 api
2003-07-19 08:32:01 +00:00
d51107b804 Nex modules added to keep a minimal compatibility with 227 api 2003-07-19 08:29:55 +00:00
a851bf1b9c - fixed error message at OSX in interface.c, added a load of comments there
to understand the central loop better.
2003-07-18 18:32:57 +00:00
Alexander Ewering
a65ce19175 Added "Group selection" menu (SHIFT-G), which offers the following options:
1 - Children
2 - Immediate Children
3 - Parent
4 - Objects on shared layers

1: Selects all direct children of the active object
2: Select all children, children's children etc. of the active object
3: Makes the parent of the current object active, and deselects the
   active object
4: Selects all objects that share at least one layer with the active object

Useful for stepping through object hierarchies and for quickly selecting
objects belonging together.

See my message on bf-committers as well.
2003-07-18 15:50:33 +00:00
Alexander Ewering
c2f92ace79 Added a MEM_freeN call to sound_free_sound() to release bSound->stream
created by audio_makestream(). Fixes "Err Totblck stream len..." messages
and memory leak.
2003-07-18 15:30:12 +00:00
2b40962ea5 properly fix the fix this time (I need more coffee...) 2003-07-18 14:43:18 +00:00
c8aed03108 fix sdl detection 2003-07-18 13:34:55 +00:00
e00a27f9fd * fixed bug: pressing F11 in dispview mode opened a window
* new feature: rendering large images now displays correctly zoomed down
  in an imagewindow. The fact that it didn't also caused unpredictable
  slowdowns at various systems (tested osx, win).
  Of course after rendering you can still zoom in/out as usual.

* there was code that limits the maximum size of an imagewindow, keeping
  a small border around it free. By increasing the border 15 pixels I got
  huge speedup at OSX. Still looks good though...
  Needs more research what is happening here, maybe we need a user setting
  for it... but i rather implement the usage of the internal ImageWindow
  first.
  Still unsolved: 24 bits windows opening... I don't dare yet hacking in it
  Ghost.
2003-07-18 13:20:47 +00:00