Commit Graph

3107 Commits

Author SHA1 Message Date
Jens Ole Wund
0883f68263 make mscv6 usrers happy
does not matter since *offical* wibdows release is msvc7 anyway
2004-11-23 22:29:17 +00:00
Ton Roosendaal
d6a36633c5 Patch provided by Yann Vernier
This patch should make gettext return unicode, which is what freetype
expects (also explicitly set in the same file). It makes translations
that support non-ascii *and* non-unicode encodings, such as latin 1 for
western european languages, draw correctly. The problem only occurs for
platforms where those encodings are default, i.e. in Linux if
/etc/locale.gen looks like this:
sv_SE ISO-8859-15
If it were to read UTF-8 this patch doesn't change the behaviour at all.
This is probably the case for Mac OS X and perhaps Windows.
2004-11-23 12:19:18 +00:00
Kester Maddock
f8c2ce93b9 Fix for bug 1800: mouse over sensor doesn't work for ortho cameras.
The camera -> world transform wasn't being calculated properly for 'ortho' cameras: getOrigin()[2] should be scaled by 100 (like the render transform in KX_KetsjiEngine)
2004-11-23 10:10:21 +00:00
Alfredo de Greef
88b556fd57 Possibly related to bug #1851:
orco coordinates were assumed to be valid when pointers were non-null,
this seems to have been a wrong assumption, pointers were probably unitialized
(but only for some objects like surfaces?), so when the export code tried to
access them, it crashed.
Now the rendermaterial texco flag is tested instead, which probably is how
it should have been done in the first place...
2004-11-23 06:10:03 +00:00
Ton Roosendaal
f3c8c47adb Fix for #1839
On large changes of the Lattice resolution button, the undopush crashed.
Reason was that the push happened for buttons before the actual event for
buttons was executed.
Solved by creating new event UNDOPUSH that's being added to the queue by
by buttons now.

- Made button undo texts for number buttons more clear
- Added undo push for missing Add lamp/empty/lattice/camera
2004-11-22 22:41:07 +00:00
Ton Roosendaal
0d9fa74348 Potential fix for Sun glCopyPixels problem.
It's an ifdef, copying pixels with offset of 1 pixel.
2004-11-22 21:22:09 +00:00
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
Kester Maddock
cf91617d78 Fix stereo window creation 2004-11-22 10:09:08 +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
Wouter van Heyst
fe50974370 bump version to 2.35a for scons 2004-11-18 15:39:05 +00:00
Ton Roosendaal
7532928dbf Upped version for "make release" to 2.35a
Added release log text file
2004-11-18 15:16:02 +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
Nathan Letwory
1e7370c535 Buildinfo would give player instead of dynamic 2004-11-14 20:37:32 +00:00
Nathan Letwory
044052328b bump version to 2.35 for scons 2004-11-14 20:31:32 +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
78df823daa Upped version to 235 2004-11-14 17:15:36 +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
Jean-Luc Peurière
cd7b789907 more conservative default build options for OS X
O3 works thought on my system, but should not be set on reference releases
2004-11-14 14:38:03 +00:00
Ton Roosendaal
fcf3dd2930 Latest icon buttons image 2004-11-14 13:50:17 +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