Commit Graph

66005 Commits

Author SHA1 Message Date
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
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
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
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
7eee2e7f8a SConstruct is 2.37a now 2005-06-13 20:56:19 +00:00
cbc37934a8 Updated version for makefile 'make release' and splash 2005-06-13 20:55:24 +00:00
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
de567cd0cc Scripts:
- Campbell Barton updated his obj exporter and skin (bridge/skin/loft) scripts.  Thanks.
2005-06-13 17:21:30 +00:00
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
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
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
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
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
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
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
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
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
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
f5b011592a uninitalized variable caught with valgrind.
Kent
2005-06-09 18:42:43 +00:00
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
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
ce68fddc0d Made anim player (blender -a) free memory in end, so we can check what the
leak comes from.
2005-06-08 15:09:11 +00:00
cf1022ffaa On exit mesh editmode, the other objects using this mesh should get a
'redo softbody' signal.
2005-06-08 13:01:31 +00:00
5e0aa9b1ec Bug fix #2719
Ortho render didn't correct texture/shadow coordinates for subpixel
position. Caused small errors where faces intersect each other.

Also found texture subpixel error in unified (using jitter table not
correctly). This also caused errors with z value comparing.
2005-06-08 12:51:03 +00:00
ae77736c30 Small tweak in Ward-Iso specular. It didn't work correctly on backfacing
light. Thanks Alfredo! :)

Report #2711
2005-06-08 08:13:33 +00:00
9fea86d38a Fix #2709
Editmesh; "Remove Doubles" also included hidden vertices.
2005-06-07 13:04:31 +00:00
af890a6270 Bart updated his scripts...
Fixes:
- naming of Transform instead of Shape node
        X3D exporter: line 431 and 432
        VRML exporter: line 430 and 433
- wrong import of modules in the X3D exporter
        line 72
2005-06-06 19:00:02 +00:00
91b5992b49 Fix for # 2655
Now triangles and quads of _any_ shape collide nicly with softbodies.
Some tricks don't work in a non euclidian geometry !
Had to brush up that dusty knowlege a bit :)

thanks efbie & ton
2005-06-06 18:52:07 +00:00
9abdd362b7 Bugfix #2704
Modified bFTGL so the bitmaps supplied by the font itself aren't used.
Patch originally supplied by Shizu, somehow this was never added to
FTGL.

Be sure to build binaries with bFTGL, not the provided ftgl.lib from the
lib dir. (this one can be deleted afaic)
2005-06-06 14:42:50 +00:00
058e8ba402 Different fix for the nasty stars problem, previous one swallowed the
ESC during alt+a playback.

Solved in the 'proper' way, which is not abusing the (while render)
ESC callback for UI draw of stars, this confused everything. Means;
you cannot esc stars drawing anymore. Nice feature, bad hack...
2005-06-06 13:10:02 +00:00
bb4710d2c9 Fixing bug #2707 : Local Axis constraints in transform working incorrectly on objects that have object constraints.
http://projects.blender.org/tracker/index.php?func=detail&aid=2707&group_id=9&atid=125

Problem was as suspected (axismtx defined after clearing constraints), so very easy to fix.
2005-06-06 12:23:47 +00:00
c61f6463b1 Updated BL text.
This option has not been used for 3 years, and is very unlikely to happen
anytime.
2005-06-06 12:18:44 +00:00
7f3908af65 Fix for #2689
When drawing many stars (or for certain slow gfx cards) you can press ESC
to stop it from drawing. The variable set for this escape was not reset,
causing a first F12 render to not work. (Ancient bug!).

Added: redraw event for "Stars" button in worldbuttons.
2005-06-06 10:35:50 +00:00
88fa58c437 Changed test for (me->flag&ME_SUBSURF) into
((me->flag&ME_SUBSURF) && me->subdiv)

In build_mesh_data(). This because meshes with subdiv==0 were calling a
MakeDisplist() for each redraw otherwise, disabling for example the
posemode "delay deform" feature. (bug #2700)

Daniel; it would help if you would add comments in the code, for example
to understand the difference between;

mesh_get_base_derived()
mesh_get_derived()

and how it relates to

build_mesh_data()

I realize most of the mess is in displist code... and confusing use
of features while editing, posemode, & render. Nevertheless, it's not
clear at first sight which parts of derivedmesh is design, and which
part reflects the hacks to make it work. :)
2005-06-06 09:52:44 +00:00
35a00d7ca0 Fix v2.0 for #2256:
An alternative fix - last one broke stuff that I only discovered
*after* committing! Go figure!

Basically, gave B_REDR events for the sliders -- I still think
there is a bigger underlying issue here, but it is best left for
Ton the interface guru! ;)
2005-06-05 17:06:20 +00:00
6d823636b8 Bug fix: #2256
Sliders (and potentially other buttons) with no retval were not breaking the ui_do_block() loop, which caused events to propagate to other panels!

(The effect could also be seen by dragging from AO sliders into the
World name textbox.)
2005-06-05 16:40:48 +00:00
1dd02d4cf9 As discussed in meeting, fixing Numinput annoyance in transform.
Numpad Minus can now be used all the time to type negative numbers, without interfering with PET.

WARNING Behavior change: PET area of effect is not resized with Alt-Num+ and Alt-Num- (in addition to the scrollwheel)

WARNING testing needed: it's late and the laptop here has a funny emulated numpad, so better be tested on a real keyboard by someone who is not coding past midnight.
2005-06-05 14:26:45 +00:00
c00adc5ff8 Transform 2D center was using short. Not good enough when it's it's way off screen. Switched to ints, that fixed the bug in the tracker.
Switching to floats would probably be safer in the long term, but too many things to test to do that now.
2005-06-05 13:50:21 +00:00
38202abff8 ccommented stuff in qhull geom.c with standard C comments not C++ ones 2005-06-05 13:46:28 +00:00
f99b6a3042 Float precision error could cause RKEY to start with 0.02 degree rotation.
This because the used integer+float division could result in a
9.999999e-01 value, which is for acos() to return 3.452670e-04.

Converted the division to use doubles instead.
2005-06-05 12:24:35 +00:00