Commit Graph

2032 Commits

Author SHA1 Message Date
86d0d50479 Cleaned up the User Prefs layout. More ordered, descriptive, and better room for growth. 2004-07-24 16:43:16 +00:00
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
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
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
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
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
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
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
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
4b7250d82a Added proper duplicate code for displistMesh. causing crashes...
(bug 1434)
2004-07-22 16:00:44 +00:00
36375b1c29 Added colorpicker support for theme editor 2004-07-22 13:40:17 +00:00
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
6ce57a706f GCC 3.4 compile fixes from bug #1277 2004-07-22 00:15:50 +00:00
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
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
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
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
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
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
b6e0899607 Added support for cameras in Blender's Ortho mode. 2004-07-20 12:07:06 +00:00
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
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
66c2b4aace Details, details...
* Aligned the header align toggle button thing with the
 menu and gave handle_view3d_around() a prototype to
 clean up a warning

* Replaced the conglomerate of abbreviated texture blend
 modes with a menu
2004-07-19 07:08:51 +00:00
Chris Want
6883efe712 windows-gcc vs. solid, round 2
Doing it the Kester way, but in a way that it actually compiles and links
for non-Kester people. >=P

(translation: FREE_WINDOWS now builds the stuff in extern and overwrites
the pre-compiled solid libs).
2004-07-19 02:43:07 +00:00
b42c714d75 Give the correct N key panel name when in vertex paint + edit mode (#1451 thanks Desoto for the report! ) 2004-07-19 00:24:56 +00:00
b57167d3e4 Particles effector type #define
Different draw mode for Vortex effector ( http://www.clubinfo.bdeb.qc.ca/~theeth/Temp/vortex.jpg )
Use row buts for effector type (only one effector at a time per object).
Forcefield circle transparency in 3D view is controlled by falloff value (for coolness factor).

Please note that those only draws in the 3D view for Empty objects. I've tested with all other object types through a global call, but lamps (and only those) give problems. Since we go in release status soon, I prefer commiting something that works all the time.
2004-07-18 22:23:50 +00:00
Chris Want
98b86b55fa This makes the windows-gcc build finish (only link to libsolid.a)
... might not be the best way, but it works.
2004-07-18 18:42:36 +00:00
1620a9199e Adding the new blending modes, and coding nice code broke having
multiple layers of textures... silly cut/paste error. Fixed!
(check; moto9.blend in regression files)
2004-07-18 17:42:57 +00:00
Alexander Ewering
e9f86f281e Forgot these two :)
Please test :)
2004-07-18 15:58:23 +00:00
Alexander Ewering
96e0a103d4 1) Change the way "Align mode" is accessed in the UI: It's now a global
toggle for all pivot modes. The 2 new pivot modes have been removed
   from the popup.

   Instead, a new toggle button is added to the 3d view header.

2) Grab cursor mode. Cursor can be grabbed (and constrained to axis, grid,
   etc. while moving) like any other object. If no object is selected,
   GKEY alone grabs the cursor, otherwise pressing CKEY while in GKEY mode
   moves the cursor.
2004-07-18 15:57:33 +00:00
6dca057ac5 BPython:
- added image.getBindCode() docstring to Image's epydoc file (thanks Satish Goda).
Scripts:
- Adding Apply_def.py to "Mesh" scripts menu (thanks author: Theeth);
- Updating JMS's disp_paint.py (also changed its name to remove version info);
- minor updates in docs and scripts.
2004-07-18 15:54:17 +00:00
4a244f274d Attempt 2 :)
Found the right +0.5 todo, now based on understanding why. Checked with
demo files in regression. But i bet intrr finds a new bug in an hour!
2004-07-17 14:18:34 +00:00
15d4fb9c85 Really bad luck with committing recently... past fix was plain wrong,
although it rendered the submitted bug file fine...
Note to self again; always also check if code even works in general! :)
Note to self 2: don't fix things ad hoc when you're not coding
2004-07-17 13:56:05 +00:00
Alexander Ewering
1bb871c682 "Force field" and "Vortex field" buttons in Effect buttons didn't update
the 3d view.
2004-07-17 12:55:16 +00:00
baa2f99f07 Port Python updates from Tuhopuu2:
getType/setType to action/sound actuator (sgefant)
Use a more generic python -> math conversion.
2004-07-17 05:28:23 +00:00
90fb631526 Port a few rasterizer changes from tuhopuu2:
Up the max batch size.
Clean up some of the code - move code in headers to source files etc.
2004-07-17 05:23:17 +00:00
c0985f4ceb If using the 'ob centers only' modes, the headers for scaling did not update properly. This commit should fix that. 2004-07-17 03:23:17 +00:00
a57cd82e9f Remove all the autoconf stuff for QHull & SOLID and use the Makefiles.
This should make building Solid & Qhull much more reliable.
2004-07-17 02:44:24 +00:00
d5585a3589 Added the runtime fullscreen options. 2004-07-17 00:48:59 +00:00