Commit Graph

1076 Commits

Author SHA1 Message Date
bbdfacfde3 added a nice alert box when blender is run on a mac with less than 8Mb VRAM 2004-07-28 16:47:08 +00:00
7047817c36 Added crease value in NKey menu editmode 2004-07-28 16:45:00 +00:00
846da79887 Oops, include file belonging to previous commit...
Plus: moved particle interaction and effect buttons back to a single
Object context. The proposed solution (sub context) has workflow issues,
(adds another click (no hotkey) to view settings)
whilst almost all Object buttons nicely fit in single view still.

This was on todo since first particle commit, actually the idea was to
move particle related issues to a special sub-context, but leave the
effects themselves in the Object main menu. Splitting off Particles from
the Effect system isn't in the scope of what is feasible now.

Also note; the current panel 'particle interaction' actually should be
a generic 'forces and collision' panel, since it's also relevant for
soft body feature (WIP)... that can be changed later.
2004-07-28 15:07:35 +00:00
76616c266e Added new selection outline as option in View->View Properties panel. And
while working there added 3d cursor there as well.
I admit it isn't the best location ever, but let's do the threaded
discussions after 2.34 is out. :)
2004-07-28 13:21:27 +00:00
4f9cd88087 Removed unnecessary window-close on subsequent renders. This not only causes
delays and lotsof redraw events for the desktop, it also made it impossible
to drag a renderwindow to a desired position.
Now it only re-opens on render size changes. Maybe enables to have the
window permanent on 2nd monitor for extended desktops?

Note; the 'pref position' preset in F10 still works, but only on window
open of course.
2004-07-28 12:47:50 +00:00
95eb490d0d fix for #1479
Caused by commit Kester 7 weeks ago, adding sound actuator always crashes
when no sounds have been loaded. He forgot to put a MEM_Free within the
brackets. :)
2004-07-28 10:01:22 +00:00
595be0fed5 Interface drawing tweaks:
* Made the shaded ends of popup menus the right shape,
 when the button is aligned, connected to another button.
 Found by desoto, fix by desoto

* Made the icons inside icon buttons scale up with zoom,
 rather than just sit down in the bottom-left corner. The
 scaling up is rather ugly - consider this a temporary
 measure until we can find a nicer solution, on the
 backburner for 2.35. Found once again by Bugmaster
 Desoto, fix by ton.
2004-07-28 00:21:11 +00:00
1564409217 Uncommited dashed lines to indicated 1x1 zoom. While it did look nice and useful, it caused some rather nasty slowdown on some 3D cards. It was decided to push the feature as well as further discussions on it (zooming indicator in corner or others means of showing zoom level) for after 2.34. 2004-07-27 23:24:56 +00:00
fb40ae6413 Added option to set 'full Osa' on non raytraced scenes. This makes sure
old files still use the old fast OSA, and when you want a specific
material to have specular/shader/texture AA you can set this individual.

When rendering ray_mir or ray_transp or ray_shadow the new OSA will be
effective by default however.

Still todo; make this switch work for transparant faces and unified...
2004-07-27 22:23:45 +00:00
f3beeec296 new window behaviour for macos X computers :
if video card is open GL accelerated and has 16 Mo or more
start window in maximized mode wich is a full screen mode
but keeping access to other windows and sytem menu items

older comps start as usual
2004-07-27 20:40:42 +00:00
f9e0731003 What one little missing comma can wreak havoc! :)
Solved crash with choosing World ipo
2004-07-27 15:23:09 +00:00
4d3cca252c Fixed small calculation error for non-float slider, which defined
whether redraw was needed. This shows on (some) windows cards that the
button continuously keeps updating/flashing.

Since I can't test it here, please confirm :)
2004-07-27 14:26:11 +00:00
d375a64fbb Removed inadequate cursor grab feature. 2004-07-27 12:25:37 +00:00
3d6fa14777 Bug fix #1477
Important for everyone to know; buttons with event return code 0 pass on
the button event to other buttons. This was in yafray panels so, causing
buttons unwanted to be pressed when dragging sliders.

The official 'empty' event is B_DIFF, to denote that back and frontbuffers
are different, since the button was updated in front only with a press.
Alternative is B_NOP, which doesnt do anything.
2004-07-27 11:42:50 +00:00
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
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
3d299a5dce Button type error; declaring short button and giving it an int! 2004-07-26 21:23:20 +00:00
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
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
874f5d3d48 Forgot to add remaking displist on ESC for subsurf crease edit... 2004-07-25 17:52:13 +00:00
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
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
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
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
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
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
36375b1c29 Added colorpicker support for theme editor 2004-07-22 13:40:17 +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
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
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
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
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
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
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