Commit Graph

47594 Commits

Author SHA1 Message Date
Ton Roosendaal
f7b8e05f8e Bugfix on irc report;
Static-animated particles didn't recalculate on render
when used for duplicators (did work for halos). Allows material/texture ipo
for animated motion.
2004-11-22 18:13:56 +00:00
Ton Roosendaal
2e33e173f2 Three cases of unitialized variables found.
Hopefully it fixes the black scanlines error, as reported in #1842, but
need MSVC compiler to test it. ;)
2004-11-22 15:32:57 +00:00
Kester Maddock
1092b98337 Fix for bug 1600: alpha sort doesn't work on linked (alt-d) objects 2004-11-22 11:49:35 +00:00
Ton Roosendaal
39022ffb88 Bug fix, irc report.
Move to layer buttons, using SHIFT+hotkeys to set button values and use
mouse to press OK undid the last change, this due to active flag hanging
on that button. It now clears hotkey active flags on mouseclick first.
2004-11-22 11:48:51 +00:00
Kester Maddock
46fbe6b01e Fix for bugs: 1788 (forces) and 1799 (python delattr on game objects)
Use Polytope collision for faster mesh intersection tests, so SOLID can actually use that qhull lib now.
2004-11-22 10:19:19 +00:00
Ton Roosendaal
87048d0901 Bug fix #1838
AO option "Use sky" or "Use tex" now also take option "Use distances" into
account, so you can control shades of AO better then.
2004-11-21 22:37:06 +00:00
Ton Roosendaal
b4f035e9dc Disabled B-B to goto circle selecting on armature edit mode. 2004-11-21 14:39:20 +00:00
Ton Roosendaal
7d7acbf6bd Bug #1865
On appending in posemoding, Blender could crash.
Found out the new 'select appended' also sets the 'active base/object'.
This isn't OK on that level of the code, 'active' exists (and needs to be
set) on UI code level in src/, not in the middle of file reading function.

Also removed weird negative bitflag that enforced 'select appended' to
be default. If you want that, set the flag itself in do_versions or so.
In my opinion it is best saved in .B.blend instead. Another time...
2004-11-21 13:25:54 +00:00
Ton Roosendaal
9b9f9fc038 Fix for #1864
In transform code the old global G.totvertsel was still used to define
centroid (editmesh). Replaced with nice local variable.
2004-11-21 12:23:21 +00:00
Ton Roosendaal
f2aa00d2d0 Bug fix #1859
Appending or Linking data from other file always cleared scene scriptlinks,
due to having 1 line of code just on wrong location... is bug since 2.25,
so finally something again I didn't recently break in working code :)
2004-11-21 11:44:50 +00:00
Ton Roosendaal
0069a48897 Fix for strange (showed in windows only) error that delivered flat curve
deforms by default. Proved to be a [3] array passed on to function needing
[4] array. Bad bad...
Thanks Ole for finding it! :)
2004-11-21 10:42:42 +00:00
Jiri Hnidek
cbb66c68f0 - bug fix #1843
https://projects.blender.org/tracker/index.php?func=detail&aid=1843&group_id=9&atid=125

  function find_basis_mball() sometimes returned duplicated MetaBall as basis mball, which caused crash of Blender. It happened only when basis MBall object was used for duplication. It was propably caused by some changes in duplicator code.
2004-11-20 11:59:44 +00:00
Ton Roosendaal
a91f7ff763 Bugreports keep coming in... including real bad one.
- Deformed mesh didnt give correct 'orco' anymore on render
- Mesh editmode, "Separate loose parts", crash on empty mesh (no verts)
- Global undo; buttons sending redraw events gave extra undo push called
  "Make single user or local". That latter was wrong event handling for
  REDRAW event, harmless, until now :)

First one is a real showstopper... bah!
2004-11-19 22:44:06 +00:00
Ton Roosendaal
63060902e0 Fix for bug #forgot
Edge rotate tool didn't copy face material and smoothing flags.
2004-11-18 14:35:29 +00:00
Ton Roosendaal
a0de0d084e Made view3d "home" and "local view" and "zoom to selection" (dot key) doing
all the same. The latter two didnt take aspect ratio of windows into account
2004-11-18 14:34:30 +00:00
Ton Roosendaal
b0db81b0df Bug fix #1833
Switching to oops from outliner didn't call a view2d checking, needed because
oops uses different matrix methods than outliner.
2004-11-18 14:32:06 +00:00
Ton Roosendaal
e696cdfd70 Bug fix for #1835
Found out the conversion functions for indices <-> framebuffer only went
up to 18 bits, making selection in zbuffer-select (or vpaint/faceselect
even) not work on large datasets. Provided you have 24 bits display, of
course.

This limit was just dangling in the code since long ago... modern times eh!
2004-11-18 13:58:37 +00:00
Alfredo de Greef
c7d8c44de9 In plugin mode, blender's zbuffer will now also be filled, so it can be used
with the zblur plugin for faster dof (or other seq.plugins that need the
zbuffer).
I don't think the conversion to a blender zbuffer value is quite correct,
but at least it does produce usable results for zblur without too much
differences with the blender render (at least not for the short tests that I
could do in this short time...)
2004-11-18 05:22:18 +00:00
Alfredo de Greef
53d58505c5 Material TexFace mode support was still not quite correct, didn't work for
objects that used faces having same image but not the same material.
2004-11-18 01:50:09 +00:00
Ton Roosendaal
cefd1b2729 Three bugfixes from tracker;
- Nurbs objects didnt render ray-transp. Was caused by 1) wrong normal calc
  and 2) quads with vertices on same locations. Solved it with nice code that
  checks illegal quads and turns them into triangles
- Made 'physics engine' variable SUMO default
- Typo in toolbox fix; cyclic isn't F but C
2004-11-17 17:15:36 +00:00
Ton Roosendaal
32c95ccae4 Three bugfixes, as reported on release;
- loopselect doesnt work proper with vertices outside window
- outliner crash on script select (potential showstopper...)
- make curve parent menu, press ESC, crashed blender

All minimal changes in code. no new development, promised!
2004-11-16 15:08:42 +00:00
Ton Roosendaal
8f3d6449d2 Splash size reduced with real jpg (previous was tga) 2004-11-14 17:45:51 +00:00
Ton Roosendaal
cf1c76af15 - 2.35 splash
- Version code set to 2.35
2004-11-14 17:16:54 +00:00
Ton Roosendaal
c42d4156a6 Bugfix #1796
On undo (CTRL+Z) the flag 'save_over' was set, which caused the F2 and
CTRL+S save to not show "untitled.blend" but last saved file
2004-11-14 16:19:34 +00:00
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