Commit Graph

12725 Commits

Author SHA1 Message Date
Ton Roosendaal
3effe8060d Fix in mball last May 15th causes a hang (eternal loop) in mball.c,
a division by zero was not handled

(weird though, only shows in OSX PPC. no optimize, debug build.)
2008-05-18 13:57:47 +00:00
Joshua Leung
54be27b40e Bugfix #11738:
PoseLib Preview crashed when there was no active pose as there were no poses at all (i.e. on a newly created Pose Library) .
2008-05-18 10:41:42 +00:00
Ton Roosendaal
aba4f31086 Bugfix 11736
CTRL+Click on "load" for image node crashed.
NULL pointer test missing...
2008-05-18 07:30:51 +00:00
Campbell Barton
d3f7fba472 fix for [#11691] No checks in curve code for "Number of points <= Order U"
added checks for a nurbes orderu being larger then pntsu.
This has the same effect as the curve having only 1 point. (its display list is not generated 
but it is still added but a dummy displist with zero points is made)
memcpy was also being used where the memory overlaped (probably worked in most cases but this is incorrect and valgrind complained), use memmove 
instead.
2008-05-17 22:37:34 +00:00
Brecht Van Lommel
81dee8e1dd Fix for mistake in recent interface bugfix commit. 2008-05-17 13:41:34 +00:00
Joshua Leung
bb6c67cc73 Bugfix #11717:
Rendering (Internal/OGL) would crash when StampInfo was on and adding info about the active camera, if there was no camera in the scene.
2008-05-17 00:35:30 +00:00
Campbell Barton
4100695f38 root level python tree menu's didnt work with seperators, would display SEPR text instead 2008-05-16 21:34:22 +00:00
Peter Schlaile
9b2dcab02d == Sequencer ==
This fixes: [#11642] VSE: crash with Speed Control and play head

Special sequence update (holding down left mouse button on a strip)
could lead to a crash when using the speed control effect, since
we didn't check properly for valid cfras (and therefore if
TStripElem is null... )
2008-05-16 21:04:06 +00:00
Willian Padovani Germano
bbe32118ef == Nodes ==
- "Memoryblock free: attempt to free NULL pointer" messages related to the Material node (Add->Input->Material). Deleting it and quitting Blender would bring 2 or 3 of these warnings. Trivial fix (check if NULL) in blenkernel/intern/node.c, though Nodes devs may be interested. Found while testing to fix the following bug:

== PyNodes ==

- Bug #11715 reported by Alexanter Feterman:

http://projects.blender.org/tracker/?func=detail&atid=125&aid=11715&group_id=9

Adding a Dynamic node and setting it to a pynode script would crash Blender if no Material Node (MatNode) was present.

Thanks Alexander for reporting and Brecht for assigning it to me.
2008-05-16 20:57:06 +00:00
Brecht Van Lommel
9ed039efe0 Fix for two UI glitches:
Bug #11711: particle start frame could get NaN value.
Bug #11714: x-axis mirror button didn't work.
2008-05-16 17:36:06 +00:00
Martin Poirier
952a0042ea [#5743] Rotate dosnt work at high zoom
More precision added to previous fix through linear approximation of the angle at really small angle values.
2008-05-16 13:13:20 +00:00
Campbell Barton
58e6861aea fix for [#11542] "Add -> Mesh -> Torus" adds corrupt mesh
previous fix only worked in object mode
2008-05-16 13:05:36 +00:00
Martin Poirier
ff84d868a1 [#11706] Camera IPO Lag
Broken in revision 14473

Camera IPO needs a special exception to be done earlier than others, that was removed in that revision.

I added a better comment to make sure nobody removes it again, unless they really understand what's happening.
2008-05-16 10:20:30 +00:00
Brecht Van Lommel
1e1ece8025 Fix for bug #11682: active render vertex color not respected correctly. 2008-05-16 09:55:09 +00:00
Ken Hughes
584d84eafd Remove PLATFORM_LINKFLAGS for makesdna, was breaking debug builds with MSVC8. 2008-05-15 23:33:30 +00:00
Campbell Barton
ec253c3918 own error, off by 1 with string allocation 2008-05-15 23:16:42 +00:00
Brecht Van Lommel
9df0d227cb Fix for bug #11676: the Spread value for particles does nothing, as
far as I can see it would only do something if child particles could
be emitted from volume, so removed the button for now.
2008-05-15 20:45:02 +00:00
Brecht Van Lommel
7df859fb95 Fix for bug #11389: edgesplit modifier crash after subsurf when
no edges were being split.
2008-05-15 20:07:07 +00:00
Campbell Barton
98c54a91b7 fix for [#11597] 2.46R5 and probably problem of all 2.46Rx - UNPREDICTED DRAW sculpt brush
front and back face test was reversed. This problem still shows up when sculpting from the inside of a mesh, but this 
cant be worked around unless its know which faces are visible or not. (tried some different workarounds but this 
seems acceptable)
2008-05-15 19:49:34 +00:00
Campbell Barton
cf66596d32 fix for [#11667] Minor problem with lightmap_uvpack, LC is getting out of control but keeping to annoy theeth 2008-05-15 19:44:34 +00:00
Brecht Van Lommel
a6e18574b8 Fix for bug #11650: removing uv layers in editmode did not work correct.
Fix for bug #11661: bake to viewport uv layer instead of render uv layer.
2008-05-15 19:40:09 +00:00
Geoffrey Bantle
ad397fa16b -> FLT import bug (loose vertices)
New faceweld code broke the import of meshes with loose
vertices. Also added exception handling to the importer
and exporter so that UI doesnt quite when errors are encountered.
Instead traceback is printed to stderr and control returns to
the script UI
2008-05-15 19:35:17 +00:00
Jiri Hnidek
ba6c6854ed Last bug fix of #10999. This should finaly work (tested by jesterking). 2008-05-15 19:30:30 +00:00
Campbell Barton
6e7744451b Sculpt buttons had their events set to zero, this mean clicking on buttons would pass through to 3D view and sculpt, use B_NOP instead.
Opening many panels would print an error in the console, show an error message now so users dont get confused.
2008-05-15 14:44:39 +00:00
Campbell Barton
20ff5bdc34 changing between libraries with the append/link library selector didnt re-read a new blend file when it alredy had one loaded.
it looks like this only ever worked for the first library selected.
2008-05-15 13:18:56 +00:00
Joshua Leung
2f1cca9528 Bugfix #11293: IPO-Driver Links Lost on Renaming Bones
IPO's were not being checked for drivers that linked to bones that were renamed when fixing dependencies after renaming bones. Note: PyDrivers will not benefit from this.
2008-05-15 08:05:56 +00:00
Peter Schlaile
34a1d92579 == FFMPEG ==
Added additional entry, so that ffmpeg encoding options can
be added using their name instead of "the menu(tm)".
2008-05-15 06:47:54 +00:00
Benoit Bolsee
a6a4b78417 Fix BGE bug #7532: TrackTo Actuator does not work correctly if it has a Vertex Parent. This is only a partial fix: the user must put the parent vertex at the center of the parent object and disable the physics on the tracking object (use empty or collision free object). 2008-05-14 20:22:57 +00:00
Geoffrey Bantle
9f7bc14c57 -> FLT Export bugfix
Export of open faces on export was dropping
the last vertex. Also removed recursion from
function in order to make it safe for large polygons.
2008-05-14 19:29:33 +00:00
Campbell Barton
d1b04a3a9d forgot to use the thread setting function for rendering. (was only used for baking) 2008-05-14 16:49:33 +00:00
Campbell Barton
540c0e0795 uvcalc_lightmap would raise an error on meshes with no faces.
auto-threads wasnt working for baking.
2008-05-14 16:40:25 +00:00
Martin Poirier
b65d4f95fc Missing hotkey in menu for Align to Transform Orientation 2008-05-14 14:53:12 +00:00
Brecht Van Lommel
7806a44134 Minor particle system fixes:
- Changed some tooltips.
- Refresh with reactors and shared particle settings.
- Copying of child particles.
2008-05-14 13:30:36 +00:00
Martin Poirier
d1e1332e07 Final fix fo revision 14827
Fixing UV Quad Constraint when cancelling transform. Also, transdata conversion is a bit faster for all UV transforms.

Patch by Cambo, reviewed and revised.
2008-05-14 12:24:38 +00:00
Martin Poirier
c56f484da8 == Transform orientation bugfix ==
Fallback to global if the selected orientation doesn't exists.

This only happens when switching between scenes or screens(orientations are per view3d)
2008-05-14 09:30:27 +00:00
Joshua Leung
9fdb4965a3 NLA and IPO now have the "AfterTrans Keyframe" option that prevents the creation of duplicate keyframes after transform. 2008-05-14 09:00:22 +00:00
Peter Schlaile
f98085bd7e == FFMPEG ==
Not all versions of ffmpeg seem to have av_find_opt. Added my own version... grmbl.
2008-05-13 20:32:52 +00:00
Martin Poirier
2c4fd39142 Todo [#5743] Rotate dosnt work at high zoom
Fixed by only conditionally resetting the start of the triangle used to calculate the angle to when an angle is actually measured (so really small angle don't result in continuous deltas of 0 degree).

However, the smallest rotation angle is still limited by the precision of the acos function (here: 0.02 degrees, 0.02 / 30 with Shift pressed).
2008-05-13 13:20:47 +00:00
Campbell Barton
b303fa96ac canceling UV transform would still run the be_square function 2008-05-13 10:19:28 +00:00
Martin Poirier
f4a20f4cc1 [#8146] Objects rotate in wrong direction when using numeric input (R x <num>)
Don't flip axis to face camera on num input.
2008-05-13 10:17:46 +00:00
Campbell Barton
33120a1825 disabled drawing the 2d image cursor when painting, added copy bevel weight to the edge copy menu. 2008-05-13 10:04:04 +00:00
Campbell Barton
4e59c3ec53 [#11152] [C] key shortcut is broken in UV/Image Editor
Only allow this inside paint mode.
2008-05-13 06:12:33 +00:00
Geoffrey Bantle
af30d9b2b0 -> Fix for bug in 'Select Non-Manifold'
Select non-manifold would select stray vertices even when in
non-vertex modes. Fixed.
2008-05-13 02:22:57 +00:00
Campbell Barton
ac71783e8d last commit had a typo, also adjusted teh and colour instances 2008-05-12 21:12:10 +00:00
Campbell Barton
a0cd3d67ed confined unprofessional print to debug mode ;) 2008-05-12 20:59:46 +00:00
Campbell Barton
4903751c4d mirror face UVs and color was rotating, shift for alternate axis also wasnt implimented 2008-05-12 18:30:50 +00:00
Brecht Van Lommel
f44c22e69c Fix for bug #11128: render window shows undithered image. 2008-05-12 17:41:03 +00:00
Brecht Van Lommel
916120b98c Fix for bug #11114: boids physics went wrong when the distance between
particles was exactly 0.0, for example with emission from verts.
2008-05-12 17:30:32 +00:00
Peter Schlaile
d2fcba7f65 == Ipo ==
This fixes [#11118] Record Mouse in IPO Curve Editor 2.46rc3
and adds thereby a new feature: correct audio sync to IPO mouse recording :)
2008-05-12 17:16:54 +00:00
Jiri Hnidek
c471b6db74 Bug fix of #10999. mbproc->start was useless. 2008-05-12 16:22:49 +00:00