Commit Graph

2049 Commits

Author SHA1 Message Date
Ton Roosendaal
d0da285547 Fixed small annoyonce that was there for long;
New objects were not created with correct 'ipowin' value, to denote the
default ipo to show. That caused sometimes wrong display with weird empty
menu button in header.
2004-07-26 22:46:56 +00:00
Ton Roosendaal
73f1da749b Nathan's huge ipo patch.
- now more than 31 channels possible for ipos
- added lotsa new channels all over
- Texture block has ipo now too
- recoded getname_ei functions

(Will ask nathan to give release log info when he's back!)
2004-07-26 21:44:55 +00:00
Ton Roosendaal
0437f23008 Error in new particle deflector buttons; wrong type! Doesn't anyone
check warnings, eh! :)

space.c error is mine though... warning too!
2004-07-26 21:32:56 +00:00
Ton Roosendaal
3d299a5dce Button type error; declaring short button and giving it an int! 2004-07-26 21:23:20 +00:00
Ton Roosendaal
519fb27ad5 Removed 'static' declaration from addzbufImBuf(). This is an exported
function, static is for local functions...
Reason was it gave loads of warnings in compiling.
2004-07-26 21:20:42 +00:00
Ton Roosendaal
ca6c0861cf Wrong threshold for reflection rays (prevent go through backside) caused
errors in rays going extreme close along surface. Like bug #1471 shows.

Threshold removed, can't find any sample where this happens now...
2004-07-26 20:09:43 +00:00
Ton Roosendaal
653abbae6c Fix for #1449 (blocky shadows)
This problem appeared to be a famous one, with some fun read to be found
on the web. The solution as I commit here is described on the site:
http://www.blender3d.org/cms/Misc_improvements.355.0.html

As extra (I needed it quite some!) added requested feature to have the
renderwindow display in titlebar whether the spare page is shown (JKEY)
2004-07-26 17:12:04 +00:00
Kester Maddock
8a52016501 Let the game engine manage it's own sound scene. This is to fix bug 1415 (Patch from Peter den Bak)
http://projects.blender.org/tracker/index.php?func=detail&aid=1415&group_id=9&atid=125
Also release the OpenAL device & context.  These were leaked before, and would cause an assertion.
2004-07-26 11:54:10 +00:00
Stephen Swaney
f64c5cacf7 roll back changes made in Ipo.c version 1.25 so we can
easily apply Nathan's ipo patch which was made against
version 1.24.

this version is the same as 1.24
2004-07-26 07:15:00 +00:00
Willian Padovani Germano
5f034d61b8 Stupid mistake, forgot to add radiosity include dir to the source/blender/python/api2_2x/Makefile, breaking the makefiles build. Thanks intrr for reporting. 2004-07-26 02:13:42 +00:00
Alfredo de Greef
4c78cc7557 Fixed camera flip bug.
Shadow lamp flags in plugin were not handled correctly.
Vertexcolors in plugin code were not exported.
Fixed a few bugs related to GIpower parameter.
2004-07-26 00:48:28 +00:00
Stephen Swaney
bead28b623 added a comment 2004-07-25 20:35:17 +00:00
Stephen Swaney
6d581008a8 a shot-in-the-dark attempt to fix the 'missing radio.h' problem.
changed #include <radio.h> to #include "radio.h"
2004-07-25 20:12:57 +00:00
Ton Roosendaal
874f5d3d48 Forgot to add remaking displist on ESC for subsurf crease edit... 2004-07-25 17:52:13 +00:00
Willian Padovani Germano
c50e3f374f BPython:
- new submodule Scene.Radio, for radiosity: still incomplete, but in shape for demos, updated SConscript to include it;
- new functions in Window module;
- doc updates: adding a todo file and a new start page for our docs: API_intro.py + other updates;
- small fix in Ipo.c provided by Damien McGuinnes (thanks!): Nathan has a patch with IPO additions and fixes for this and more, but until it is committed, there's this fix for Ipo.getCurve('LocX'), LocY, Z and QuatW,X,Y,Z too, according to Damien.

Other files:
- radpreprocess.c: added check for "during_script()" so eventual msgs don't popup during scripts;
- drawmesh.c: made a pointer (display list) be checked before accessed, fixes crash in scripts that forget to update display lists for subsurf meshes when a 3d view is in textured view mode.

Script: updated bevel_center by Loic Berthe.
2004-07-25 16:55:45 +00:00
Ton Roosendaal
fe9336eb88 Work on creases editing.
- while editing creases (SHIFT+E) it works like scaling now (towards or
  away from center selection).
- ESC while crease edit now works.
  (note; doesnt fit in Trans structs...)
- button 'draw edges' and 'draw creases' now exclude each other
2004-07-25 13:36:44 +00:00
Brecht Van Lommel
5881af9306 Fix bug #1466: Crash on decimating non-manifold mesh in scons build.
- Enabled the NDEBUG define (to disable assertions) on all platforms in scons.
  This is already the default in Makefiles.
- Free MEdge data after decimating, it is not valid anymore.
2004-07-25 10:49:25 +00:00
Matt Ebb
86d0d50479 Cleaned up the User Prefs layout. More ordered, descriptive, and better room for growth. 2004-07-24 16:43:16 +00:00
Johnny Matthews
bdd615b682 This commit prevents the loopcut tool from selecting a starting edge which isn't part of any visible faces. Since the tool requires at least 1 face to cut, this does not limit tool functionality and prevents blender from crashing.
Fixes bug #1331
2004-07-24 05:32:08 +00:00
Ton Roosendaal
2b2d794533 Report #1457
The laptop option "no numpad" did this in the main queue, for all windows.
This caused problems, like for text editing in 3d window.
Now it only does it in 3d window, and not with editmode for Text object.
2004-07-23 21:07:32 +00:00
Chris Want
4a85ba9948 Somewhat better determination of ascii vs. binary filetypes when
importing STL files.
2004-07-23 20:50:44 +00:00
Ton Roosendaal
2d54d7b3ce Bug #1462
A nurbs sphere parented to Bone accidentally was treated as parented to
armature (deform) in renderconverter.
2004-07-23 20:47:47 +00:00
Ton Roosendaal
a856becb52 Added a fix for calculating centring buttons in panel. It was off 8 pixels
(the safety).
2004-07-23 19:24:07 +00:00
Chris Want
3ad0fce900 Fixed (minor) memory leak that occurs when audio can't be opened. 2004-07-23 15:23:42 +00:00
Ton Roosendaal
38d2a7148c Report 1456; bezier subdivide was far too simple. The reporter provided
the correct math for it, works like a charm
2004-07-23 14:31:22 +00:00
Ton Roosendaal
3b242ab2ea Fix in rendering AO + alphamode "Key". Sky color was set raytrace and not
properly reset when renderimg sky itself.
2004-07-23 11:06:28 +00:00
Ton Roosendaal
a3d1f2bf66 Work on filesel.c :
- Bug fix #1464; a 2nd time shift+f1 append didn't make the ".." file a
  directory, preventing going to a parent directory in .blend file
- Bug fix (not reported): when saving an image, the fileselect window(s)
  didn't show that image file when calling fileselector again
- Removed redundant code from experiment with ImageMagick
- Renamed functions with dutch names... :)
2004-07-23 10:49:04 +00:00
Ton Roosendaal
8773a7bb5f Bug 1447
CTRL+ALT+F was supposed to give a button popup to type a search string.
thanks to reordering code in oct last year this didnt work anymore, only
the first time.
2004-07-22 16:56:35 +00:00
Ton Roosendaal
4b7250d82a Added proper duplicate code for displistMesh. causing crashes...
(bug 1434)
2004-07-22 16:00:44 +00:00
Ton Roosendaal
36375b1c29 Added colorpicker support for theme editor 2004-07-22 13:40:17 +00:00
Kester Maddock
b453cd0715 Fix bug #1460: Camera IPOs Broken (Gameengine)
The camera IPO was not invalidating the cached projection matrix.
2004-07-22 00:26:34 +00:00
Kester Maddock
6ce57a706f GCC 3.4 compile fixes from bug #1277 2004-07-22 00:15:50 +00:00
Ton Roosendaal
866f03db8c Report #1433
In camera view, with ortho camera, the current camera was drawn with
unpredictable sizes. The code was not written to work for ortho, so
I check on that now. Means camera isnt visible itself then, which
is minor I think. Nice for a todo once...
2004-07-21 21:27:14 +00:00
Stephen Swaney
d7dd942678 fix warning: function declaration isn't a prototype 2004-07-21 21:26:11 +00:00
Stephen Swaney
bce2c02fdd New Curve method Curve.appendPoint( numcurve, newpoint ) to add
points to a Curve.

New supporting module CurNurb to provide access to the curves in a Curve
and their associated points.

Curve module now supports Python iterator and sequence protocols.
This allows typical python programming idioms using 'for' statement
and the [] operator.

# example 1
for curve in a_curve:
	for point in curve:
		print point

#example 2

curnurb = a_curve[0]
curnurb.append( [1,1,1,1] )

Still under construction.  Epydoc will follow.
2004-07-21 21:01:15 +00:00
Roel Spruit
1c5302e68b added include path for some gameengine file and fixed an undefined function in the shading buttons 2004-07-21 19:01:44 +00:00
Ton Roosendaal
db4941128e Bug #1459
New buttons in editmode for mball forgot to check on NULL pointer.
2004-07-21 17:44:44 +00:00
Nathan Letwory
5c4e6908e7 Kent Mein pointed out some embarrasing syntax errors in example. Corrected those. 2004-07-21 17:25:50 +00:00
Kent Mein
7e35864f81 made it so the popup for mixing modes for textures was put into world
and lamp map to windows as well as the material one.

Kent
2004-07-21 16:06:54 +00:00
Nathan Letwory
9175679b36 More alignment corrections by Emilie, for "Anim Settings" buttons. 2004-07-21 13:53:10 +00:00
Willian Padovani Germano
c04bec851c creator.c wasn't updated in my last commit, here it is (the change reverts my previous change to it, since it was made unnecessary by handling onload scriptlinks a little differently, as can be checked in blender.c and editscreen.c).
- BPython:  finishing object and nmesh .setMaterials commit, fixing two bugs.  Also fixed a crash with object.track (pointer wasn't checked for validity).  All based on reports and patch by Yann Vernier, thanks again.
2004-07-21 03:19:52 +00:00
Matt Ebb
df36d4c8e5 More details:
* Added 'Crease SubSurf' to the menus/toolbox

* Language edits in the sequence editor
2004-07-21 01:44:27 +00:00
Stephen Swaney
73b700626b More stuff made pretty. Courtesy of Emilie. 2004-07-21 01:38:20 +00:00
Alexander Ewering
bb3c7cc0a1 Desoto fixed fine-alignment of buttons in Scene buttons. Looks cleaner now. 2004-07-20 22:35:09 +00:00
Alexander Ewering
a600d66795 Undo never worked correctly for "Extrude" in BF-Blender. It just undid the
transform, not the extrusion itself. How did nobody notice? :)
2004-07-20 21:48:42 +00:00
Kester Maddock
b6e0899607 Added support for cameras in Blender's Ortho mode. 2004-07-20 12:07:06 +00:00
Willian Padovani Germano
7b3b3ae432 Trying to fix bug reported by Peter den Bak and Meino Christian Cramer (thanks!):
-- splash screen disappeared (duh, I did that!) and Blender quits upon exiting from some 225 games:

It was troublesome to find how to run demos in general with the screen correctly redrawn before they started, etc.  Ended up making the above error in screenmain().  About the games, I don't have them and will need some time to get the files for testing, but I'll do it, though only on linux.

BPython:
-- Window: added GetScreens, SetScreen and improved GetScreenInfo.
-- Object, NMesh: updated (added in NMesh) method getMaterials to return either only valid materials as before or also empty slots (as None).  This previous omission can be considered a bug, since it made info about materials incomplete / incompatible with face mat indices.  Thanks Yann Vernier for bringing this up and sending/proposing a patch that also fixed a bug related to assigning lists of materials with different lengths to obj and its mesh. setMaterials also accepts Py_None entries now, which become empty slots in Blender.
-- doc updates.
2004-07-20 08:16:46 +00:00
Martin Poirier
9bf1655070 Minor UI fixes by Emilie McDavid and Chris Burt. Mostly button alignement fixes, positioning, sizes and thingies like that.
Mostly in Editing and Shading (material).

Note: broken should review the changes though we've checked with all the different draw types and it didn't make any problem. If it worked correctly on Desoto's weird screen size, it can probably work anywhere. ;)
2004-07-20 01:53:32 +00:00
Alexander Ewering
a2474e9a0a Fix Trackball view rotation method to allow rotation angles > 180 deg.
without having to start over.

I patched this into instinctive a long time ago when someone submitted
the math to the mailing list but never got heard.

I hope it's acceptable :)
2004-07-19 11:38:09 +00:00
Alexander Ewering
319527efe4 "Grab Cursor" now only is invoked by GKEY. 2004-07-19 08:42:24 +00:00