Commit Graph

4120 Commits

Author SHA1 Message Date
Ton Roosendaal
bb59977d79 Bugfix #3041
Missing updates for Textured objects in 3d window, using copy buttons.
2005-09-20 10:26:23 +00:00
Ton Roosendaal
0746e7edb3 Bug fix #3044
Undid Daniels' commit (version 1.42) for this file, which claimed to fix
"free baked softbody". Result was that baked softbodies couldn't be read
from a file (always were freed).

I tested the free bake, and it works properly. Daniel: your move!
2005-09-20 10:21:30 +00:00
Ton Roosendaal
256a59c36e Bug fix #3052
Syntax highlight in Text Window crashed with lines > 2000 chars. I now just
skip the highlighting code for these cases, it remains a bit weak code...
2005-09-20 09:43:03 +00:00
Ton Roosendaal
3ef1f0f3e3 Made EditMode armature border-selecting smarter.
Rule now is:
- If there's points in the border, only the points get selected (and an
  entire Bone when both points are in border)
- If no points in the border, the tip gets selected for connected Bones,
  the entire Bone gets selected for non-connected Bones.

OK OOPz, check this! :)
2005-09-20 08:48:06 +00:00
Ton Roosendaal
820bcb4be8 Bug fix #3070
<blush>Missing "2*" caused AO tables to be only initialized half</blush>
Result was bad AO quality in render, and unpredictable brightness. This bug
happened in previous commit, when fixing random table issues.
2005-09-20 08:06:03 +00:00
Mika Saari
f210e88263 Coding style from spaces to tabs in files related to Unicode Font Object.
Function strlen changed to wcslen in editfont.c in ALT-U (undo) functionality.
2005-09-19 17:58:51 +00:00
Chris Burt
6183bdf1b8 Added id strings to the tops of buttons_*.c files which were missing their
correct format. CVS expands $Id$ to the format you usally see at the tops
of files and these only had $Id: which CVS ignores.
2005-09-19 13:26:17 +00:00
Chris Burt
ed674ba6f9 Added 'Radial' blend texture type for created colored radial gradients
like that you might find on a CD. Special thanks to use Phlip in
#blenderchat for help on the math. Thanks Philp!
2005-09-19 13:00:44 +00:00
Alexander Ewering
4074832f90 Add #ifdef INTERNATIONAL around #include, potentially fixes compilation 2005-09-19 10:15:26 +00:00
Ton Roosendaal
bf0ef10179 Bugfix #2971
Alpha error in unified render, causing mist and non-ztransp alpha and 'env'
materials not to render correct.
2005-09-19 07:53:08 +00:00
Alexander Ewering
4bfbb978d2 Bug #2930:
Fix Amiga IFF loading for little-endian platforms
2005-09-19 00:12:43 +00:00
Alexander Ewering
743bf0c7bb Looking at it, I could improve drawing of selection at least
*slightly* for TextOnCurve. It draws with errors, but it's at least
possible to remotely guess the selection :-)
2005-09-18 23:50:23 +00:00
Alexander Ewering
9db14ce9b3 Disabling underlining for text objects with "TextOnCurve", because it can
never work correctly with it, the way it is currently implemented.

The selection won't draw correctly either with TextOnCurve, and this is
really asking a bit much..

What to do...
2005-09-18 23:44:30 +00:00
Jean-Luc Peurière
493c941016 the fluidsim UI and blender interface files 2005-09-18 13:28:42 +00:00
Jean-Luc Peurière
e2d577de9e initial commit of the fluid simulator.
Ton reviewed and gave his blessing.
Zr, can you have a look ?

see :
http://projects.blender.org/tracker/?func=detail&atid=127&aid=3039&group_id=9

for initial comments.

N_T : the solver itself (elbeem) needs some works to get rid of
warnings
2005-09-18 13:27:12 +00:00
Ton Roosendaal
9e3468bde2 NLA strips that had an internal repeat, didn't use correct timing to be
rendered with MBlur or Fields.
This is a fix for now, but I've already noticed several pending issues for
Blender's internal time control (time ipos, global time control, startframe
offsets, etc). That's for another time! (pun not intended :)
2005-09-18 12:24:14 +00:00
Ton Roosendaal
7c8e636979 Small fixes, based on bugreports;
- Toolbox item for shaded mode had wrong hotkey
- Added countall() for select menu stuff (in 3d header, groupmenu)
  That way the stats in infoheader are updated.
- Tooltip was wrong for X-axis mirror mode Armatures
2005-09-18 11:20:05 +00:00
Jean-Luc Peurière
4803b14675 compatibility fix for Os X tiger with make.
add export USE_OSX10.4STUBS = 1 to your user-def.mk if compile fails
on missing definitions like _printf$LGDB

those are parts of the 10.4 sdk.

This is interim fix as scons dont need this and we should be able
to acheive same result with make. investigating further on this.
2005-09-18 11:19:53 +00:00
Brecht Van Lommel
0804d66f79 - Imagepaint code cleanup:
- Move UVTEXTTOOL variables into global Gip struct (like Gvp for
    vertex paint). This will probably be moved into SpaceImage later,
    so it is saved with the .blend file.
  - Disable tool drawing. a better solution needs to be found.
  - Panel button layout is still the same, this will change.

- Removed the NAN_TPT define, it has no use anymore.
2005-09-16 20:17:09 +00:00
Alexander Ewering
7c29e6d551 And this time, the right file. 2005-09-15 22:06:31 +00:00
Alexander Ewering
825d0d5d58 Fix the "Text to 3D Font" options in the text editor.
Note: The "Insert Text" button pretty much replaces this, together with
      the fact that editing 3d text is now much more powerful than the
      usual text editor ;-)
2005-09-15 22:03:41 +00:00
Ton Roosendaal
c664f23c9e Bug fix #3036
Particle emittor parented to Bone in armature didnt update correct.
2005-09-15 20:34:41 +00:00
Ton Roosendaal
08d52f781d Made sure makefiles use by default the lib/ libraries for OSX. It was
still pointing at /sw (fink stuff)
2005-09-15 20:25:44 +00:00
Ton Roosendaal
e63f211721 Adding missing prototypes, removing unused variables, initializing vars,
all to make compiling warning less again in gcc. :)
2005-09-15 17:32:24 +00:00
Chris Want
0a2b71a3a4 Getting blender to compile for IRIX, in particular:
IK: needed to change abs() to TNT::abs() (thanks brecht!)

Freetype: FT_ENCODING_UNICODE typecast to FT_CharMap (thanks intrr!)

header_image: missing include for liballoc stuff

Ketsji: needed to declare m_hitObject as public in KX_MouseFocusSensor.h.
This is probably the wrong thing to do, but KX_MouseFocusSensor.cpp
compilation fails on line 279 otherwise.
2005-09-14 21:50:37 +00:00
Chris Want
902b11b84c An #include <wchar.h> was needed to ccoompile on OSX 2005-09-14 20:07:32 +00:00
Alexander Ewering
1c337c49f1 Commented out the memset(...) in chtoutf8(), as it just assumed the buffer
was at least 16 bytes long, but wasn't always, and it gets cleared manually
by all calling places anyway.

Should fix crashes.
2005-09-14 17:01:03 +00:00
Alexander Ewering
98bd4615b5 On behalf of Mika Saari, the famous Unicode Font support!
Further information is available here:

http://wiki.blender.org/bin/view.pl/Blenderdev/UnicodeFont3D

Shortlist of features:

- Unicode character support for Font3D
- UI to select characters from Unicode character list
- UI to select Unicode table areas
- Optimized character loading (Load only those characters which are used
  in font object)

Please test extensively if it breaks anything, try also loading/saving
files, packing fonts, etc.

The official text regression file in the regression suite should be a
good start.

Thanks to mikasaari for this very useful addition!
2005-09-14 14:02:21 +00:00
Toni Alatalo
2cb24cefb2 =bpy beztriple: finally got the mem. management right with the help of khughes. 2005-09-14 13:59:43 +00:00
Toni Alatalo
4d79ac3193 Just a little addition to docs based on a discussion on irc. 2005-09-14 11:04:13 +00:00
Toni Alatalo
290ae52d81 Memory management flag to behave better, as hinted by Ken Hughes.
Still not good, i.e. getting these when quitting: Error Totblock: 4
new bpytriple len: 60 0x8889bdc ... 'cause nothing frees them..

Changed the loop that parsed input args to PyArg_ParseTuple to have
support for passing ints from Python too as the floats that are the
coordinates. Didn't find PyInt_AsFloat and figured that this is an ok
way anyhow.

Changed the default handle mode from AUTO to ALIGN, which is the same
as in UI and more useful at least for me.

Little sanifying in CurNurb (this was done with Ton).
2005-09-14 10:53:51 +00:00
Jens Ole Wund
548660994d KEYC pops up 'paint tool'
was always there .. but noone but me knew
2005-09-13 21:04:19 +00:00
Matt Ebb
0af69ddd09 * Added hotkeys for rendering animation (Ctrl F12) and playing back
animation (Ctrl F11) similar to rendering a still with F12 and showing it in
the buffer with F11.
2005-09-13 09:52:00 +00:00
Jens Ole Wund
c27799910f bug fix:
UV paint tool did not work with swapped mouse buttons in user prefs.
2005-09-12 19:20:53 +00:00
Ton Roosendaal
16b146d516 Exclude only-shadow lamps to be rendered when the main render option
"shadow" is off.
Bugfix 3018
2005-09-12 17:43:48 +00:00
Ton Roosendaal
f9acbb7b5d Small fixes;
- "make track" in posemode only worked for objects, so disabled it for now
- in weightpaint, "Clear rotation/location" worked on armature-pose, as well
  as on object. Was confusing... disabled clearing object in weightpaint.
2005-09-12 15:17:35 +00:00
Ton Roosendaal
17c28a8f93 Bug fix #3042
Button "text on curve" did not remake DAG dependencies, so editing the
curve gave no updates in text.
2005-09-12 14:48:00 +00:00
Johnny Matthews
dd0cc4d1d2 Fix for bug #3024
In non-prop mode for edgeslide, loop would not return to proper position after cancel.
2005-09-12 14:01:44 +00:00
Ton Roosendaal
d90f3546cb Bug fix #3026
Pulldown Mode select (3d header) failed to enter posemode in editmode,
but only when posemode was already set for armature
2005-09-12 13:53:40 +00:00
Ton Roosendaal
9b46c46dc9 Bugfix #3040, the new 'roundbox' button disabled copy/paste values in
buttons. You could notice that for Constraint and Modifier panels.
2005-09-12 13:26:53 +00:00
Ton Roosendaal
999392e4b7 Checked some regression files (2.37) and found issues with correct backward
conversion of data still. Remains a painful issue to get things converted
and in same time prevent things from calculated twice. :)

Anyhoo, issue was that old files with armatures in hidden layers went wrong
2005-09-12 13:02:36 +00:00
Jiri Hnidek
45fe89364d - timemarker name is moved up, when current frame equals to frame of timemarker 2005-09-12 08:43:09 +00:00
Stephen Swaney
a4ca8267cf bugfix: [ #3009 ] possible memory leak in Mathutils
fixed by patch [ #3013 ] patch for memleak in vector
Submitted By: Ken Hughes (khughes)
2005-09-12 06:18:45 +00:00
Stephen Swaney
24ee7278b9 patch #3011 ] update to curnurb.setFlagU doc, added set and get for Taper
Contributed by Toni Alatalo (antont).

Support for Taper Objects for Curves.
Code for curnurb.setFlagU() method not changed as per discussion on
bf-python mail list.
2005-09-12 06:07:19 +00:00
Stephen Swaney
5f15cf3d9a fix compiler warning: No newline at end of file 2005-09-12 04:46:34 +00:00
Jiri Hnidek
d5f55e0502 - when marker is selected, then it's name is highlighted and name is moved
up. It can be useful, when you have many named markers in timeline.
 - screenshot: http://www.kai.vslib.cz/~hnidek/pics/timeline_tweak.jpg
2005-09-11 13:19:10 +00:00
Ton Roosendaal
6cff3258d5 My first DerivedMesh code! :)
Bugfix #3002: Using 'calc weights from envelope' WKey in weightpaint mode
now uses the subsurfered vertex coordinates to calculate weights.
2005-09-11 13:02:55 +00:00
Ton Roosendaal
7939735887 Bugfix #2999. Nkey buttons had a limit for input of 1000.0. That's not
much... made it 10 times larger, to match the max zoom level.

Nevertheless; on our ancient todo is that we once should give number
buttons 2 limits. One for the actual min/max values, and one for the best
sliding experience (matching zoom level or distance for example).
2005-09-11 11:03:09 +00:00
Ton Roosendaal
68b2476d2f Bugfix #2996. Delete vertexgroup didn't update Outliner. 2005-09-11 10:20:30 +00:00
Ton Roosendaal
f20f4e4307 Bug fix #3033
Using "make parent armature with creating vertex groups" option gave
corrupted memory when one or more bones had the "Deform" option not set.
Was caused by old boneclass SKINNABLE variable. To end this confusement,
removed this define from code.

Note for future Armature tool coders; don't use this bonelooper
functionality. Operations in Object mode for armatures should use the
Pose Channels, which is a simple ListBase to go over. I have to recode
the 'create vertexgroups' still...
2005-09-11 10:12:31 +00:00