Commit Graph

7545 Commits

Author SHA1 Message Date
Ken Hughes
9cc25e5a15 Make scons pick up default link flags from previous commit on linux platforms;
statically-linked python releases won't work otherwise.  Bugfixes for #4676
and #4486.
2006-07-14 04:13:55 +00:00
D.J. Capelis
6a72f9f61d Changing some default link flags, crossing fingers and waiting for bugs to
magically be fixed.
2006-07-14 02:02:57 +00:00
Peter Schlaile
224987b0fc == Frameserver ==
(serious) bugfix: make escape handling work in frameserver.
2006-07-13 19:36:38 +00:00
Andrea Weikert
11f70391d2 - fix for [ #4678 ] ALL Blender versions crashes when pasting empty windows clipboard!
quickly sneaked in last minute before release ;)
2006-07-13 17:13:31 +00:00
Ton Roosendaal
5ee3d1da10 The mother of all commits! Bumping version up to 2.42, and new splash. 2006-07-13 16:53:52 +00:00
Ton Roosendaal
7692b9f21f Bugfix #4687
Repeat Image texture was broken... the repeat value for Y was accidentally
multiplied twice, typo... had to change a 1 into 2 :)

Error introduced in 2.41 btw, 2.40 and older were OK.
2006-07-13 15:41:36 +00:00
Ton Roosendaal
ec9b952582 Bugfix #4683
Render non-osa, with mblur, did not jitter the zbuffering, so it did not
result in basic AA for non moving parts.

Note to self: this now works on < 2.42 level again: it doesn't use
the correct subsampling, which can cause slight errors in rendering image
textures.
2006-07-13 14:02:27 +00:00
Campbell Barton
f1eed11ad7 Missing constant added. 2006-07-13 13:41:26 +00:00
Ton Roosendaal
3503ad47dc fix #4675
Button "use nodes" was showing up when no material was visible in buttons.
2006-07-13 13:19:27 +00:00
Ton Roosendaal
464f3bd966 Three more valgrind discoveries:
- readfile.c, version patch for new toolsettings used a malloc, using
  unitialized variables
- despgraph, another malloc changed to calloc
- timer code for render ESC: unitialized variable in struct
2006-07-13 11:36:26 +00:00
Ton Roosendaal
3bc73506ea Thanks Brecht && Valgrind!
Octree filling code used an unitialized vector. Only when a quad once was
rendered it was filled with a value, explaining the weirdness we suffer...
2006-07-13 10:55:25 +00:00
Ton Roosendaal
2899d1da35 Paranoia commit to eliminate threads issues or uninitialized var stuff.
- thread render stores per thread and per lamp the last intersected
  shadow face
- the Isect struct, for intersections, could use a couple of extra
  zeros on start.
2006-07-13 10:26:36 +00:00
D.J. Capelis
6ba882630d Patch by fab31 not to clobber SDL audio environment variables if they're
already set.
2006-07-12 20:01:48 +00:00
Ton Roosendaal
7aaa8c720c Removed the isnan() fix for silly people who type in NAN in a button!
Apparently not supported in Windows compiler, and although it has _isnan()
I've got no time to code wrappers for it, and #ifdefs here is plain bad
code.

Nice todo for Campbell one of these days after release!
2006-07-12 15:28:37 +00:00
Ton Roosendaal
b9f4efe1c7 Camera pointer declaration in middle of code.... tsk! 2006-07-12 14:51:30 +00:00
Stephen Swaney
aa42dc28f1 more spell checking. 2006-07-12 14:27:13 +00:00
Campbell Barton
cfeaf8dfdf Simplified some parts of this script 2006-07-12 12:36:19 +00:00
Campbell Barton
b7e534f412 error it pup block title, still had clean meshes. 2006-07-12 12:09:43 +00:00
Ton Roosendaal
841b5027aa Code cleaning: mixing short and floats in multiplying while building
octree.... might give issues, so made it all float.
2006-07-12 12:06:27 +00:00
Ton Roosendaal
500a68f0ad - ray.c: a string was assinged to stats drawing, but not cleared. could
create buffer overflows in string drawing
- removed static variable from renderwin.c. No fix, just nicer code.
2006-07-12 10:48:05 +00:00
Willian Padovani Germano
d6ef293851 Scripts:
- Updating Blender Lip Synchro to the newest version sent by the author,
Benoit Foucque (Dienben). Thanks!

I'm committing a version with a few minor (tested) changes to make it
easier and to fix a small problem, the author received the changes a few
days ago. He would try to send another update implementing a couple
suggestions, but it may not come in time, so better have this. Anyway,
interested users can check his blog for test files and more information:

http://blenderlipsynchro.blogspot.com/
2006-07-12 10:21:38 +00:00
Campbell Barton
6d972220ac rename and update to archimap.
Mainly syntax optimizations and cleaned up parts.
2006-07-12 09:55:09 +00:00
Stephen Swaney
fec1ebaca3 A little spell-checkage.
Some return types changed from PyNone ( a C name ) to None.
2006-07-12 01:36:07 +00:00
Campbell Barton
0d9002354f Fixed many small errors in this script.
This is a real mess and should be removed/re-written but until we have a nice clean alignment script and its close to release, have to keep it.
2006-07-11 17:59:23 +00:00
Campbell Barton
b54d5809c4 Added some notes on mesh materials and object getData(mesh=1) 2006-07-11 15:02:14 +00:00
Campbell Barton
893a36408c This shold fix 3ds opening on macs. thx blendix 2006-07-11 13:30:57 +00:00
Ton Roosendaal
fede9f9be3 Bugfix #4663
Play option: if you set output to render to .avi, but in the same
directory also individual files exist, it always played the files, not
the movie.

Now it checks for the Output type, and plays back a movie or frames, as
indicated.
2006-07-11 11:54:59 +00:00
Ton Roosendaal
f9461c8435 Bugfix #4669
Negative scaled Objects get a OB_NEG_SCALE flag, to indicate to OpenGL
to invert lighting for solid drawing.
Works nice, but when you use Group-duplicators, the negative scale of
the duplicator should be taken into account as well.
2006-07-11 11:34:05 +00:00
Ton Roosendaal
d941fd7d6e Bug + patch #4655
- Added "Shift+P" note in 3d window menu for preview panel
- Added Preview, passepartout in spacebar toolbox
- Info pulldown "Render" -> "Render buttons" did cycle, should not.
2006-07-11 09:07:19 +00:00
Ton Roosendaal
a8ad9880f4 Bugfix #4661
Apparently the atof() function allows to convert a NAN string input to a
NAN float value.
That we don't want when you input values in our sliders! :)
2006-07-11 08:56:46 +00:00
Ton Roosendaal
1ce8f352bc Oops! Only OSX has the OpenEXR in cvs now, makefile did it for Linux too. 2006-07-10 16:01:47 +00:00
Ton Roosendaal
1cd74bab99 Bugfix #4652
Using TAB to type values in button sequences, didn't execute button
callbacks on the 2nd and and 3rd etc. Error could be noticed in the
Node Editor, Mapping node. That one didn't pass on changes to shading code.
2006-07-10 14:49:20 +00:00
Ton Roosendaal
39764b0eff Bugfix, own collection
Restored lost functionality in Play (animation) window. On scrubbing with
LMB it should print the curent frame, making it quite more useful.
(Windows platform; it already changed title of window to this info).
2006-07-10 13:50:46 +00:00
Campbell Barton
c0ad762211 fixed comparison eith edge angle. 2006-07-10 11:11:17 +00:00
Campbell Barton
5f761a4707 mesh cleanup optimized with some LC's
renameobjectbyblock - made more readable, only operate on objects in the current scene. optimized dict usage.
2006-07-10 10:46:53 +00:00
Campbell Barton
309fb2ec26 removed a script I wrote and added it under a different name.
Moved from NMesh to Mesh and optimized.
2006-07-10 09:22:07 +00:00
Campbell Barton
06095778c1 when weight+vertex paint modes were mixed, weight paint was used but the paint menu was for vertex paint - a bit confusing, order fixed. 2006-07-09 15:10:07 +00:00
Campbell Barton
4c357b4ffa clicking on the second point of the gradient outside the mesh should have blended to alpha zero, but was raising an error, fixed. 2006-07-09 14:54:47 +00:00
Willian Padovani Germano
6bd0091a08 BPython:
-local matrices again, previous commit had matrix multiplication with
inverted order.
2006-07-09 14:49:53 +00:00
Campbell Barton
a06c122772 needed this file for Gradient tool (Window/3d ray picking function) 2006-07-09 14:44:54 +00:00
Campbell Barton
158d430ca9 updated mesh boneweight copy not to error with no selection.]
updated obdatacopier to support mesh objects and added a more general way of choosing data to show or ignore in the button list.
2006-07-09 14:22:21 +00:00
Peter Schlaile
289259c09c == FFMPEG ==
Bugfix #4596 and #4594 by rewriting the file extension management.
The code is now _much_ nicer ;-)
2006-07-09 13:05:09 +00:00
Willian Padovani Germano
c8a37212da BPython API:
-fixing object.getMatrix("localspace") and object.matrixLocal to return
the local matrix (returns global space matrix if the object doesn't
have a parent).
2006-07-09 13:04:42 +00:00
Ton Roosendaal
1ce6c22f27 Bugfix #4649
Three issues:
- When saving a file, without extension added, and no filename provided,
  the saving code received the directory name only. That's a potential
  danger of getting directories deleted.
  Added in the saveover() function a check for this, and return an error
  when you try to save over a directory.

- Screendump did not add file extensions yet, when indicated todo so.

- Screendump code was duplicating all image type cases, whilst we have a
  nice BKE_write_ibuf() call for that now. (Bug was that this code did not
  check for BMP, saving the file in default format.)
2006-07-09 13:00:41 +00:00
Ton Roosendaal
cf313f867d Bugfix #4647
The raytracer wasn't calling node shaders yet, so results showed only
shading for the base material.
This now works, but there's a conflict in the internal Blender shader that
makes recursive raytracing with nodes unpredictable. Basicaly the conflict
is that when a ray wants to shade a point, it should be able to check the
material for mirror properties, but this is undefined for node trees...

Probably we need to separate raytrace entirely from material shading. Is
a good topic for NodeShader 2.0, when we really split up materials in
shading components.

I'll add a note in the release log about this. Best results you get now
when you don't include mirror/ray-transp insde a node tree, in that case
a regular material mirror can render that material perfectly.
2006-07-09 11:54:41 +00:00
Ken Hughes
121f13fef7 ===Python API===
Response to bug #4398: print separate messages on start-up to show (a) the
built-in Python version and (b) whether a Python installation was found.
2006-07-08 20:40:41 +00:00
Ken Hughes
cf266ea2af Bugfix #4627: headerResize() was overflowing a string parameter and
destroying part of the transform matrix.  Also remove a debigging printf.
2006-07-08 14:24:57 +00:00
Ton Roosendaal
00b55aba24 1)
The F3 key 'save rendered image' made inconsistant choices to save either
in jpg or tga, when the output panel was indicating to render to movies.
Even worse, it was sometimes saying 'save jpg' and saved a targa!

Made it consistantly save .jpg now, since tga isn't a good common format.

2)
Forgot to commit transform.h for previous bugfix in transform numeric input
2006-07-08 13:18:57 +00:00
Ton Roosendaal
8a34cbe41f Bug fix #4627
The transform number input code allowed to keep typing forever. That's nice
but the code uses floats to store values, so there's a limit of 7 digits
resolution to take care of. I've added this limit now, it will stop when
the 8th digit was typed, giving a range of 100 million, quite OK for
Blender measures.

There was also a short in use for values between 0 and 1, causing an error
when you try to type like 0.99999. Here I've added a limit of 7 digits.
2006-07-08 11:56:42 +00:00
Ton Roosendaal
9587430c10 Bug fix #4640
Renaming Meta Object to become the 'mother meta' should invoke a call to
reconstruct the dependency graph.
2006-07-08 11:08:35 +00:00