Commit Graph

4137 Commits

Author SHA1 Message Date
Ton Roosendaal
f12a551213 Bugfix #2746
In Surface editmode, solid draw  mode, curves are drawn in wire now
(where in invisible). Its a simple fix, it shouldn't give issues with
the Nurbana work. :)
2005-09-23 08:29:32 +00:00
Ton Roosendaal
00d26ddf48 Bugfix #2948
For using the Fkey (add face) editmesh tool:
prevented triangles being made that are partially a quad face already.

Tools in editmode don't like such situations (tria->quad for example), also
subsurf hates it. :)
2005-09-23 08:12:52 +00:00
Ton Roosendaal
367c91bf34 Bug report #3092
Excluded the 3D cursor from being clipped with the new ALT+B clipping.

Also added a refresh for the object that gets (Pkey) separated in mesh
editmode, might solve issue reported by Campbell.
2005-09-23 07:28:15 +00:00
Ton Roosendaal
abb66762f1 Bugfix #3089
PoseMode rotate now also supports "Around individual Centers" for rotating.
2005-09-22 20:11:21 +00:00
Joseph Gilbert
942eb67b40 Warnings fix for windows. 2005-09-22 19:48:26 +00:00
Ton Roosendaal
aec7821c2d Bugfix #3085
When you move the mouse, while dragging numbers in buttons (or sliding),
and release it over another button, the release event was passed on to that
button. It happened with Radiosity buttons for example.

Reason; buttons with return event 0 are passing on events to other buttons.
This is needed for LABEL or ROUNDBOX buttons, to prevent them blocking
events when there's another button inside.

Made sure all these number/slider buttons returning B_NOP now.
2005-09-22 19:47:31 +00:00
Toni Alatalo
d2304e5abb the missing menu selection for the newly added Curve RVKs 2005-09-22 19:41:30 +00:00
Ton Roosendaal
18e50e166e Bugfix #3075
Wave Effect (and build etc) was being converted while the code later on
was reading existing modifiers (and unlinking the converted data).
2005-09-22 19:12:53 +00:00
Ton Roosendaal
d9fa984f35 More properly coded version for adding edges... now only do_versions()
reads from the old mface->edcode flag to set edge drawing.

ALso; added a pointer check in draw_mesh_object(), here the derivedmesh
gives NULL on reading regression file lostride.blend. Zr needs to check!
2005-09-22 17:52:41 +00:00
Ton Roosendaal
0f6194e5bc Bugfix #3077
Radiosity didn't add edges block, on "Replace Meshes". Caused wireframe
not to draw, but also crashes like for join().

Also: added patch that sets the drawflags in edges derived from the
ones set in faces. This ensures the conversion to be done correct.

TODO: this edges call also used in other areas in code, that has to be
catched and done differently.
2005-09-22 17:00:58 +00:00
Jiri Hnidek
7cd510f2d8 - interactive joining of two screen areas
- user can interactively select, what screen are will be "kept alive" and
   what will be destroyed
 - screenshot:

   http://e-learning.vslib.cz/~hnidek/pics/interactive_joining_of_scrareas.jpg
2005-09-22 12:45:19 +00:00
Alexander Ewering
8a1266661e Courtesy of Shaul Kedem:
Option to play sequence strips (Movie, Image, Scene) in reverse.
New toggle in the NKEY buttons for sequence strips.

Thanks Shaul!
2005-09-21 20:28:44 +00:00
Stephen Swaney
5bac916e83 Part of Bpy Cleanup: change attribute access to use tp_getset.
for these modules.  Adds some new convenience funcs to gen_utils.

This is internal change only and presents little change to the
BPy  API except for cleanup of some inconsistencies.

A big contribution from Ken Hughes.  Thanks!
2005-09-21 19:48:40 +00:00
Nils Thuerey
e1fe7c88ec - fixes elbeem SConscript file for python2.3
- added temporary fix for 128+ resolutions
2005-09-21 13:30:39 +00:00
Ton Roosendaal
10a790041b Orange request; get RVK (relative vertex keys) work for Curve objects.
Sir yes sir!
2005-09-20 21:18:37 +00:00
Jiri Hnidek
61c341a152 - intrr said, that if(strlen(marker->name)>0) is a bit cumbersome ...
I hope, that current solution will not provoke him ;-)
2005-09-20 17:28:23 +00:00
Jiri Hnidek
ff22c1de20 - name of marker is printed only when strlen(marker->name) is bigger then
zero
 - bug fix (feature request): name of marker isn't pushed out of window,
   when timeline window isn't very high (thanks Matt for bug report)
2005-09-20 16:36:07 +00:00
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