Commit Graph

4174 Commits

Author SHA1 Message Date
Daniel Dunbar
eb41fcdf23 - bug fix, crash with edges with no face in subsurf 2005-06-24 05:30:41 +00:00
Daniel Dunbar
83f988c279 - bug fix, vertex normal calculation during incremental update was not
correct (although fairly unnoticable).
 - bug fix, vertex normal calculation didn't normalize face normals before
   summing... silly mistake

p.s. perhaps the Crystal Space bla bla naming conversation is not most
appropriate for the commit list?
2005-06-23 23:44:22 +00:00
Martin Poirier
0a92e159d9 Segfault waiting to happen. This is way old code that I did, I blame my rusty C skills from back then (and the fact that lazy evaluation would make it work correctly). :) 2005-06-22 05:45:23 +00:00
Alexander Ewering
9020455429 Removed a debug print 2005-06-21 15:10:49 +00:00
Daniel Dunbar
7e4e8b9a50 - fix strange declaration of adduplicate that just used matrix argument
as flag... confusing and weird.
2005-06-21 14:51:57 +00:00
Daniel Dunbar
50b4a5a958 - #ifndef O_BINARY section should be after includes which would define
it...
2005-06-21 14:14:41 +00:00
Daniel Dunbar
64e7615b5b - fix pedantic complaint from MSVC 2005-06-21 14:13:44 +00:00
Alexander Ewering
f1ac77db68 - Copy buffer is preserved across editing multiple text objects
- Potential memory leak with selection drawing fixed
- "Copy Attributes" menu (CTRL-C) now copies all fonts (Plain/B/I/BI)
  correctly
2005-06-21 13:52:29 +00:00
Johnny Matthews
245acfc909 Updating with lorem.c 2005-06-20 13:37:52 +00:00
Alexander Ewering
4aee690bbd Fix for the "Lorem" button. Missing an extern keyword in BIF_editfont.h
(thanks Matthew for spotting this!)

Now it should work even on platforms with sane compilers (unlike gcc) :-)
2005-06-20 01:28:42 +00:00
Alexander Ewering
e7e61ba489 Attempt at providing the best possible flexibility and usefulness with
"Flush":

- There are now two modes, "Flush" and "Justify". Justify only flushes
  a line when it is *terminated* either by wordwrap or by Enter.

- "Flush" *always* flushes the line, also when it's still being entered.

  This mode can be used for things like this:

  http://pub.intrr.org/flush.png

  ..while "Justify" would not flush the second line.

- Fixed "Flush" squeezing all characters on the same spot if the textframe
  was set to 0 width
2005-06-18 00:52:25 +00:00
Martin Poirier
6e6d92039c Adding lorem.c file to BL_src.dsp MSVC 6.0 projectfile.
Note to intrr: pressing the lorem bug crashes here too, will trace later.
2005-06-18 00:37:41 +00:00
Alexander Ewering
5a7a2e8f78 Fix drawing of text frames inside editmode, stupid error. 2005-06-17 23:30:39 +00:00
Alexander Ewering
d422964c31 Compatibility code for 'Word spacing' value, old files will now load
with Word spacing set to 1.0 instead of 0.0.
2005-06-17 23:05:59 +00:00
Alexander Ewering
ad8ff9762b - Fix a few warnings
- Improved text editing for justified ('Flush') text: Line will not
  be filled up until it is completed (wordwrap or Enter)

- Fixed waitcursor flickering in displist.c
2005-06-17 22:52:11 +00:00
Alexander Ewering
e48ea7e668 File containing our famous Lorem Ipsum text, complete even! 2005-06-17 21:05:38 +00:00
Alexander Ewering
97df61a7e5 Initial commit for new text object.
Important notes:

 - Full compatibility with old text objects not fully restored
   (word spacing will be 0.0, need to set it manually to 1.0), will
   either need version upgrade to 238 or a hack. Will check.

 - lorem.c (about to be committed) contains BF copyright notice, but as
   BF did not exist a few hundred years ago, probably best to remove it :)

 - If you notice any cross-platform issues (especially beloved windows),
   please report

 - A few tiny warnings left, I will fix those issues still.

The rest has been said already - so have fun testing. And please do!

=== Reminder:
=== Documentation at http://blender.instinctive.de/docs/textobject.txt ===
2005-06-17 21:04:27 +00:00
Martin Poirier
9ee2a1ee09 One file missing from prevous commit. This one is even worse, decref'ed a borrowed reference. 2005-06-17 05:37:24 +00:00
Martin Poirier
5f5844b95e Some of the setattr functions created a tuple to pass to the set* functions and didn't decref'ed it properly, "leaking" memory.
Commit approved by stivs.
2005-06-17 05:10:14 +00:00
Martin Poirier
2a640f03cd My patch to BPy's curve module (applied by stivs) had a small mem leak. Fixing now. 2005-06-17 04:40:07 +00:00
Martin Poirier
e382d8ad4a Adding Jiri's manipulator path. This makes Normal orientation align to meta element's rotation (in edit mode, obviously). 2005-06-17 04:28:01 +00:00
Ton Roosendaal
5fac7965c2 Bug #2751
Recurring issue, but also bug in 2.37/37a: OSA sample amount versus AO
sample amount conflict... if AO and OSA amounts were exact equal it gives
black spots. Solution not optimal yet... but at least looks good.
Still think it's useless to sample fewer than AO level 8 (64), but
nevertheless. :)
2005-06-16 21:56:49 +00:00
Ton Roosendaal
49d38efe7e With no objects in scene, press F (ALT+F) for faceselect crashed.
Bugfix #2755
2005-06-16 21:19:13 +00:00
Stephen Swaney
401dfba305 Changes to Documentation Format ONLY.
no executable code.

Martin noticed many of our bpy instance variables were
incorrectly marked as class variables in the doc.  This
commit essentially changes the title of sections of the doc
from Class Variables to Instance Variables.  Now that we are
adding class or module dictionaries for constants, etc. this is
a distinction worth making.  Plus it is right.
2005-06-15 06:22:26 +00:00
Ton Roosendaal
7eee2e7f8a SConstruct is 2.37a now 2005-06-13 20:56:19 +00:00
Ton Roosendaal
cbc37934a8 Updated version for makefile 'make release' and splash 2005-06-13 20:55:24 +00:00
Ton Roosendaal
79d2ae1134 Splash for 2.37a 2005-06-13 20:33:44 +00:00
Stephen Swaney
769fa6252d Patch from Martin Poirier.
Misc bpy Curve fixes and updates, includes bugs #1687 and #2637
2005-06-13 19:15:02 +00:00
Willian Padovani Germano
de567cd0cc Scripts:
- Campbell Barton updated his obj exporter and skin (bridge/skin/loft) scripts.  Thanks.
2005-06-13 17:21:30 +00:00
Willian Padovani Germano
e5b527c629 Scripts:
- Jean-Michel Soler updated his paths importer (svg part) -- ongoing work related to this bug report by intrr:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2674&group_id=9

- small doc update in paths import about some imported curves needing "enter edit mode, select all points, toggle cyclic (press 'c')" to show up correctly;

- old vrml 2 exporter's menu name and tooltip updated to clarify that it is the old version, soon to be removed (in favor of the already included vrml 97 update by Bart).  Also prints a msg about it to the console when used.

Thanks all.
2005-06-12 23:40:46 +00:00
Stephen Swaney
7e81664287 remove version number for doc directory name as
discussed at today's meeting.
Was BPY_API_237, now BPY_API
2005-06-12 16:20:29 +00:00
Ton Roosendaal
161f8b3dbe Bug fix #2737
Extrude 1 edge, created with Fkey for 2 vertices, didn't give the
correct options... lacked a countall() to update stats.
2005-06-12 12:57:21 +00:00
Ton Roosendaal
0197fdc8b5 Bugfix #2734
Added update of normals and face center after using NKey properties or
do-centre option in Mesh EditMode.
2005-06-12 12:44:51 +00:00
Willian Padovani Germano
3d4438dcd7 Scripts:
- Campbell Barton updated his Wavefront obj importer;
- Jean-Michel Soler updated his paths import (eps part).

BPython bug fixes:

- oldie found by Ken Hughes: reference count of two pyobjects not being decremented in slider callback (Draw.c):
http://projects.blender.org/tracker/index.php?func=detail&aid=2727&group_id=9&atid=127

- Gergely Erdelyi found that setText() in Text3d module was not updating str length var, leading to mem corruption and provided a patch:
http://projects.blender.org/tracker/?func=detail&aid=2713&group_id=9&atid=127

- doc updates (suggested by Campbell)

Thanks guys.
2005-06-12 05:54:15 +00:00
Alexander Ewering
70c9f9b319 Typo in fastshade() giving wrong colors for shadeless objects with
Vertex colours
2005-06-11 17:57:34 +00:00
Nathan Letwory
c91355f3b6 Rollback of http://projects.blender.org/pipermail/bf-blender-cvs/2005-June/003769.html (which I in my commithappyness did before properly checking) 2005-06-11 16:30:36 +00:00
Ton Roosendaal
3d9833982b Bug fix #2726
Adjustment in wire frame optimizer, it only removes edges with 'valence' 2,
meaning 2 faces sharing edge. Bug was that it removed edges having 3 faces.
2005-06-11 12:56:39 +00:00
Willian Padovani Germano
6cec51b259 BPython bug fixes:
- #2646 reported by Campbell: Python/Fileselector (moving from fileselector called by script to another space caused script to hang around open but not accessible)
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2646&group_id=9

- #2676 reported by Wim Van Hoydonck: 2.37 python scripts gui: event 8 ignored (thanks Ton for discussing / pointing what to do, Ken Hughes for also working on a fix)
http://projects.blender.org/tracker/?func=detail&atid=125&aid=2676&group_id=9

- gui-less scripts with calls to progress bar inside fileselector callbacks didn't return to the previous space on exit (staying on Scripts win), requiring an event to do so (mouse movement, for example).  Quick fix for now, will rework a little after 2.37a for a better alternative, not needing to move to the Scripts win at all.

- added syntax colors access to Window.Theme module.

Scripts:

- updates by Jean-Michel Soler: svg2obj (svg paths import), tex2uvbaker, fixfromarmature;
- updates by Campbell Barton: obj import / export, console;
- tiny: converted vrml97 export to unix line endings;
- updates in ac3d exporter, help browser, save theme.

Thanks all mentioned above.
2005-06-11 05:30:14 +00:00
Martin Poirier
9c63b95d34 Follow up on the Numinput / PET conflict bugfix.
Added Page Up and Page Down as hotkey to increase and decrease PET area of effect.
2005-06-11 02:17:25 +00:00
Martin Poirier
ac30fd8b3e Fixed crash on transform_conversion with PET and hidden CV in a curve.
It now deals correctly with hidden CVs in Connected mode (creates a "segment" on each side of the hidden CV).
2005-06-11 02:01:26 +00:00
Nathan Letwory
07fb86d355 * fix for bug #2733 2005-06-10 13:55:09 +00:00
Nathan Letwory
f73183ae49 * fix for bug #2720 2005-06-10 13:12:59 +00:00
Stephen Swaney
19cb1ae5e8 Lamp Ipo blocktype was incorrect 2005-06-10 12:33:09 +00:00
Nathan Letwory
ac16f0092c scons wininst includes now plugins\include in the installer 2005-06-10 08:43:59 +00:00
Nathan Letwory
79ea5e921f Make sure plugin includes are added to a release 2005-06-10 08:00:35 +00:00
Martin Poirier
764e1a3033 MSVC 6.0 projectfiles small cleaning.
DNA_makesdna.dsp was missing DNA_meshdata_types.h

BL_src.dsp was missing most of the BIF and BDR and BSE includes
2005-06-10 00:23:42 +00:00
Alfredo de Greef
8367c329cf Some small modifications.
Absorption and Dispersion parameters now only visible when 'Ray Transp'
enabled. WardIso specular amount scale to match Blender output.
Updated halo spotlight 'samples' to use new yafray syntax.

Quick addition for access to another yafray feature:
When using HDR backgrounds for lighting ('SkyDome' of 'Full' GI methods),
it is currently not always possible to get smooth lighting results.
Especially HDR images with small lightsource can be very noisy,
because currently yafray still relies on brute force random sampling.
As a temporary simple solution (better options will be available in the
'next generation' yafray), yafray can do some processing on the
image to smooth out all (or most) noise.
Besides smooth lighting, this also has
the advantage that AA will have less work to do,
GI quality can be set to the lowest level and still get reasonably
good results. Disadvantage however is that shadow definition is lost.
To switch on this option, set the world image texture filter parameter
to any value greater than 1.0
When 'filter' is 1.0 or less, normal hdr sampling is done as before.

So, current fastest possible render settings for IBL:
set texture image filter parameter of the background image to any value
greater than 1.0, set GI to 'SkyDome' type, enable 'Cache',
(possibly enable 'NoBump' when scene uses lots of bumpmapping),
set 'Quality' menu to 'Use Blender AO settings',
make sure AO is enabled in blender World buttons and set there the number
of AO samples to 1.
Should at least be good enough for previews.
2005-06-10 00:12:42 +00:00
Kent Mein
f5b011592a uninitalized variable caught with valgrind.
Kent
2005-06-09 18:42:43 +00:00
Ton Roosendaal
cc69a09969 Bug fix #2723
When a scene had "do sequence" set, the OpenGL preview render option
crashed... it shouldn't do the sequencer anyway then. Old bug.
2005-06-09 11:02:06 +00:00
Ton Roosendaal
205b6501a0 (Accidentally sent previous commit without message... is same stuff)
gcc4 error fixes for compiling in OSX Tiger

Also; make using python framework default in makefiles
2005-06-08 18:55:49 +00:00