Commit Graph

49420 Commits

Author SHA1 Message Date
Ton Roosendaal
0444ae2216 Localview fix of 2 hours ago created dependency with bad level calls...
removed calling function from src/ and added the few lines in readfile.c
2004-11-14 16:06:24 +00:00
Matt Ebb
18a787f78b New outliner icon 2004-11-14 14:38:56 +00:00
Ton Roosendaal
4226715fc0 Update make system for darwin;
- using python framework (default on, set it off with define in
  definitions.mk)
- not installing .bfont.tff
2004-11-14 13:44:47 +00:00
Ton Roosendaal
aeec917f0c - Added tooltips for Curve and MBall edit buttons
- added undo-push for CTRL+click add vertex Mesh editmode
2004-11-14 13:38:21 +00:00
Matt Ebb
71bdc75768 Added missing items & hotkeys to menus in Outliner and Text Editor.
Also moved the new text formatting stuff to a 'Format' menu since
'Select' should contain selection tools only.
2004-11-14 13:37:29 +00:00
Matt Ebb
3e8d8f4825 Since the outliner is now the default (rather than the OOPS
Schematic), we now call it 'Outliner' in the menu.
2004-11-14 13:35:57 +00:00
Ton Roosendaal
847ff75b35 Bugfix in undo:
localview got stuck after an Undo command, it now restores to normal view
when no localviewed objects are there.

Please note again; localview is UI, so actually not saved in the undo...
2004-11-14 12:56:56 +00:00
Alfredo de Greef
a61677f37f Minor modification of image texture export of 'TexFace' mode materials
which could have become a possible problem in the future.
Refinement button alignement in GI panel.
2004-11-14 04:30:28 +00:00
Chris Want
a7d624b2c1 There were some variables that should have been declared extern,
but weren't ... no more bus error when exiting on irix!
2004-11-14 01:03:01 +00:00
Ton Roosendaal
59f08429ab Fix for bug #1791
- onlyshadow material defaulted to black when no shadow calc was used, is
  now 100% transparent
- AO 'shadows' were not included in onlyshadow material
- alpha render appeared to be wrong since 2.32... it was gamma corrected
  giving difference in OSA render with 'Gamma' on

That alpha issue i am going to tackle once, it is not well functioning, and
might be combined with new 'transmission' colors idea
2004-11-13 18:30:07 +00:00
Ton Roosendaal
b236448386 Two bugfixes, thanks to release candidate tests;
- 1768: edge rotate lacked remaking displaylists
- 1790: outliner crash on delete objects in certain situations, added more
        strict pointer check
2004-11-13 13:54:37 +00:00
Ton Roosendaal
9393dd08af Fixed showstopper (thnx intrr!) bug in sequencer + global undo.
This was actually a wrong pointer check in fileread that caused no harm
in past, but with UI-less file save it wreaked havoc!

Decided to add undo in sequencer window after all... it also involved
saving Meta strip settings in files. Very nice :)
2004-11-13 12:55:59 +00:00
Jens Ole Wund
30c8c7dbc7 User Preferences Header got scrambled on OGL anim render
turned off *render statistics* in header for OGL render
2004-11-13 00:24:39 +00:00
Jens Ole Wund
ecb4fa9960 bug #1698
in mywindow_build_and_set_renderwin(...
curswin= 2; was assigned too late
2004-11-13 00:12:02 +00:00
Ton Roosendaal
7fae7b0cf9 - Disabled printf for undo (still works in debug mode blender -d)
- Made global undo to set default on 'old' files (2.34 too, so wait
  with saving a .B.blend without glob undo until release is 2.35)
2004-11-12 22:16:23 +00:00
Ton Roosendaal
ccc07d249a Small fix for deform lag in deforming curves on animted objects. 2004-11-12 20:31:34 +00:00
Kent Mein
c83d23b50c I added a couple of button type defines for qwe.
We should probably add some more there are a lot missing but I'll
save that for after release.

Kent
2004-11-12 17:50:11 +00:00
Kent Mein
f718d56192 FTGL on my system put the includes in /usr/local/include/FTGL
while its setup to look in $(NAN_FTGL)/include
I added $(NAN_FTGL)/include/FTGL

I've had the mod lying around forever and just never bothered to commit
it but I'm sick of looking at the modified file in cvs update ;)

Kent
2004-11-12 17:35:10 +00:00
Brecht Van Lommel
f5a9209f28 Headerprint for extrude along face normal was sometimes wrong, because of
invalid pointer.
2004-11-12 15:30:37 +00:00
Jiri Hnidek
42dd03f1c2 - bug fix: Flip normal works corectly in edge/face select mode now
bug reported by Campbell Barton, thanks Cam
2004-11-12 11:35:55 +00:00
Ton Roosendaal
cfd5d0267e Cosmetic change; nice Icon for Python! :)
Used the one from python.org (favicon).

It displays now as icon for pulldown menus and script space.
2004-11-11 23:58:05 +00:00
Ton Roosendaal
1c632c40c0 Fix for error found by aphex;
Some extrusions still use proportional mode when thats on. Was due to
adding transfrom('g') for non-normal extrude. Made it new code 'h'
2004-11-11 23:56:56 +00:00
Ton Roosendaal
5989da1442 Bugfix 1781
Small draw error in camera objects from camera view (one from 1995 or so!)
Camera size depended on clipsta...
2004-11-11 23:55:16 +00:00
Simon Clitherow
74786fcd69 Fix for #1777:
-  Flagged screens as 'dirty' to be redrawn at next swapbuffers.
2004-11-11 20:24:43 +00:00
Willian Padovani Germano
ac866cad12 BPython:
- Stephan Gartner reported a crash with Scripts Help Browser script found while porting blender to Linux/x86_64, related to bugs in Blender.Window.Theme module:
    two object types were being defined with wrong sizes.  My mistake, when I wrote that code I copied/pasted those portions around and didn't check properly.  Should be fixed now.  Thanks Stephan.
2004-11-11 17:59:36 +00:00
Ton Roosendaal
5f5445ddbe Tsk tsk! Using a short to count vertices amount in Mirror menu doesnt
work when there are a lot, eh :)
2004-11-11 16:00:43 +00:00
Kent Mein
29ca2ad989 Added a header to get rid of this:
editmesh_loop.c:305: warning: implicit declaration of function `backdrawview3d'

I also removed the config.h stuff from this file, since were not using autoconf

Kent
2004-11-11 15:58:24 +00:00
Ton Roosendaal
d673c4a862 1) Bug fix 1776
Lattices seem to have deform lag, when they're animated with Ipos.
Found out this behaviour is already from before 2.25... solved with
removing a where_is_object() from deform code, but dont fully grasp
why.
Tested with good demo file, with motion blur too.

2) No functional changes, just made 2 files compile without warnings;

- added extra ifdefs __NLA_BLENDCON for unused calls
- removed zealot 'const' from function protos and variables, these cannot
  work there, and hence gave warnings
- added void pointer casts for array conversions in matrix code
2004-11-11 15:31:44 +00:00
Ton Roosendaal
c8c149281c Added winstuff.h for M_PI_2 define! 2004-11-11 13:47:06 +00:00
Ton Roosendaal
2e4a10253b Fix for bug #1756
This was caused by a very primitive method of interpolating quaternions.
It was converting quats to mat and back to quat, and then just doing
a linear interpolation. That whilst quaternions are renowned for having
good interpolation possible.

I've experimented with 2 quaternion interpolation methods, and can only
get one to work correctly... the "official" version from Watt brothers
I can't get working, both are in arithb.c now.

Will arrange *close* review with experienced NLAers for it! But testing
here gives fully predictable results.

Also changed;
- added pointer check in drawaction
- changed puldown menu for correct hotkeys for move NLA strips up/down
2004-11-11 13:17:32 +00:00
Martin Poirier
11fe49227b Proper fix for Ton's commit.
Original commit message:
"Cosmetic change (after bugreport), scaling in axis (press X,Y,Z) now prints in header "local" too, this to indicate it only does local scales."

The solution was half good, since only object mode is restricted to local axis constraints. Fixed by checking for the Local flag (which was properly set).
2004-11-10 21:27:54 +00:00
Ton Roosendaal
41f842a484 Added undo pushes for;
- NLA window
- Action Window
- all databrowse buttons (assign, unlink, single user)
2004-11-10 18:36:50 +00:00
Ton Roosendaal
4b6f66fa54 Cosmetic change (after bugreport), scaling in axis (press X,Y,Z) now prints
in header "local" too, this to indicate it only does local scales.

In editmesh: added NULL pointer in return of function to prevent crash
on error "give quad verts"
2004-11-10 16:23:05 +00:00
Ton Roosendaal
f7cc0cf342 Wrong vector math for hooks with falloff... now its OK! 2004-11-10 15:55:07 +00:00
Ton Roosendaal
6ea962923a GamePlayer seems to be forced to quit pressing "end key".
The code to check for it was very weak... causing apple key to quit it too.
2004-11-10 15:04:13 +00:00
Jiri Hnidek
48121a0b6a - fix for bug #1577
MetaElems aren't truncated. It was caused by bad filling of octal tree.

- bug fix: when non basis mball is in edit mode, then it is polygonised again.

- bug fix: fixed some other unexpected disappearing of MetaBalls caused by bad filling of octal tree.
2004-11-10 13:20:13 +00:00
Ton Roosendaal
46326b62b5 1) Fix for bugs #1735 #1759
Rotate edges was unfinished still, and not supposed to work on large
selections. Code cleaned up some, and restricted to work on a single
selected edge, or two adjacent selected faces.
Also changed menu description, and give error() on wrong selection.

2) Fix for undo mixup in texteditor
Global hotkey list now passes on ctrl+z (global undo) to local queue
in textwindow. (Also for ctrl+y). Scriptwindow also doesn't accept
global undo key.
2004-11-10 11:14:11 +00:00
Ton Roosendaal
a534361b3e More small changes;
- Added "Add Hook" menu in mesh editmode pulldown (Vertices) and toolbox
- Small tweak in editmode undo, tighten rules for what to do inbetween
  editmode sessions. (use same stack when object names identical)
- Added correct redraw events for CTRL+C CTRL+V (r g b sliders for example)
2004-11-09 23:05:06 +00:00
Martin Poirier
422127e1ca Made numerical input work for extrude along normals (Bug #1762)
Gosh, I hate working with the old transform (of course, all those hackish fix are not making it any better, mind you).
2004-11-09 22:47:47 +00:00
Ton Roosendaal
a4c582d9c5 Cosmetic stuff;
- pulldown button for textwindow header OK
- color picker had no correct border around it
- border around 'game framing' and 'edge settings' smaller now
2004-11-09 15:59:15 +00:00
Willian Padovani Germano
c16e5dad1c BPython:
- Small doc update in a script;
- Fixed bug #1742:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=1742&group_id=9

It was an internal error in bpython.  I was using G.main->script.last to find the currently running (if any) script, but this isn't reliable, we must check each open script to find out if one of them has the SCRIPT_RUNNING bitflag set.

Thanks intrr for reporting and blendix for pointing how to reproduce the bug.  From my tests it should be working fine now.
2004-11-09 14:07:25 +00:00
Ton Roosendaal
1197c4842a Forgot that me->mface is void pointer (bad!)... fix found by Nathan. thnx! 2004-11-09 12:16:00 +00:00
Ton Roosendaal
d95072d68e Bug fix #1758
Using ImageSelect window for background pic in 3d window, assigned it to
wrong window... this because the image-select window wasn't pushed before
it used the callback to set the image.
2004-11-09 11:06:56 +00:00
Ton Roosendaal
7777fa9ae2 - Bug located in outliner (missing break) by sgefant, thnx!
- On click on camera object in outliner, world buttons didnt display always

Plus; commented out the calls to select items with rightmouse. This is too
much WIP for official release, too much not working, and Matt prefers time
to further work on it as well.
2004-11-08 23:31:01 +00:00
Ton Roosendaal
b00b82ca73 Fix for #1749
In solid drawmode, objects with wires didn't show nor were selectable
2004-11-08 22:25:34 +00:00
Ton Roosendaal
78551a575e Sorry sorry... new feature while in freeze mode, bad bad bad!
But this was promised on conference, and have to keep that promise. :)

Buttons in Blender now allow copy/paste values and strings. Also works
for object names!
Mouse over button and press CTRL+C or CTRL+V for copy/paste
(Macs can do Apple key)

Plus bugfix: name button for object in Nkey panel didn't check name
2004-11-08 22:10:20 +00:00
Ton Roosendaal
4a20c3d03d Nmesh module isn't edges aware yet; but can cause crashes replacing
existing ones that use edges (like when creases or fgons in use).

Added proper free and NULL for it to prevent crashing, rest is for py
team after release ;)
2004-11-08 19:58:04 +00:00
Ton Roosendaal
c20b7adec6 Removed silly "==0" to check if "apply deform" should happen.
I'm just binary flipped...
2004-11-08 19:20:59 +00:00
Ton Roosendaal
0eb05b9d25 Three cosmetic fixes;
- Mesh editmode, draw 'bleeding edges' works again for subsurf (not optimal)
- New draw method (again!) for armature-add-bone loop. Should work now! Is
  also nice for cpu this version
- Draw screen edges (black lines inbetween windows) should not draw leftmost
2004-11-08 18:39:09 +00:00
Ton Roosendaal
72fd0789a4 Casting added for unsigned/signed char weirdness in ftgl... 2004-11-08 17:09:16 +00:00