Commit Graph

11058 Commits

Author SHA1 Message Date
Brecht Van Lommel
5cf41da316 Fix for bug #12334: the Disable Tex option didn't disable
textures for the Texface material option.
2008-05-22 13:46:05 +00:00
Martin Poirier
a4688b24dc Transform Orientations
Normal orientation for editbones (was previously missing)
2008-05-22 09:22:00 +00:00
Campbell Barton
02f34de2b9 add missing flags for NLA strips 2008-05-21 19:24:35 +00:00
Campbell Barton
e1b298cad8 scene frames scene.render.cFrame,sFrame and eFrame were being treated as shorts. (which clamped them to 37856) 2008-05-21 12:14:52 +00:00
Campbell Barton
adbbc314ba testbreak was not working after the first use 2008-05-21 11:06:49 +00:00
Martin Poirier
fc56e8d432 Bone Extrusion Bug
Extruding from root would incorrectly set the Connected flag when it wasn't needed.
2008-05-21 10:14:02 +00:00
Martin Poirier
780c971b53 [#12103] Force field moves when strength changes
Wind effects would modify the center vector, so the limit sphere was drawn from the position of the last "wind ring"
2008-05-21 10:11:10 +00:00
Martin Poirier
d432eccd14 [#11892] track-to + "around selection" bug
Transform conversion was resetting constraints when used to calculate orbit center.

This is a tentative fix, it fixes this particular case but maybe not all.
2008-05-21 10:07:38 +00:00
Martin Poirier
68708346de [#11748] Bevel tool not snapping when holding down ctrl and adjusting value
Added proper gear support and fixed some misc errors in the setup of this transformation (negative values hav no effect, so use absolute value and other small things like that)
2008-05-21 10:02:07 +00:00
Peter Schlaile
38ffd41bf0 == Sequencer ==
This fixes:
[#11745] Blender crashes when changing Scenes on Sequencer`s Strips

containing:

- last_seq was set to null by scene-render
- button handling wasn't very robust (didn't check for null)
- REDRAWBUTSSCENE was missing
2008-05-20 21:30:16 +00:00
Campbell Barton
92c9ae280c replacing epydoc generation script with one copied from bpy docs 2008-05-20 05:55:12 +00:00
Campbell Barton
195abc755b more updates to docs 2008-05-19 13:34:43 +00:00
Campbell Barton
f32d99c322 some updates to epy docs 2008-05-19 09:54:38 +00:00
Peter Schlaile
591a478670 == Sequencer ==
This fixes:
[11750] "Translate" stops working when offset > image size
2008-05-19 06:14:57 +00:00
Campbell Barton
c526b1b2df memory corruption error fix when changing orderU/Vs with curves, this could crash blender or make odd display lists.
the problem was that the buttons would use the first nurb if there was no 'lastnu', but the makeknots function only checked for lastnu. this meant the knots would not get re-allocated on 
values would be written outside the array.
2008-05-18 18:44:02 +00:00
Ton Roosendaal
055dc10c14 Last part of the svn release commit. It's now in freeze... unless? 2008-05-18 18:05:55 +00:00
Jean-Luc Peurière
24c8d15446 temptative fix for the ndof bug
if vd.dist is null at a wrong time,
retore to last known good value
2008-05-18 16:00:13 +00:00
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
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
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
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
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
Daniel Genrich
b64eeda588 svn merge -r 14810:14838 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-05-14 16:14:40 +00:00
Daniel Genrich
4d8b5587b8 Pre merge commit (includes commented moving stuff) 2008-05-14 16:09:56 +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
Daniel Genrich
83c2acccfb stupid me - i left the wrong line in. 2008-05-13 22:30:59 +00:00
Daniel Genrich
3bb43aaaaf bug in bvhkdop (bad diff merged, pointed out by jaguarandi) 2008-05-13 22:29:50 +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
Daniel Genrich
e02bca73d7 New speed imrovements by Mr. Pinto/jaguarandi 2008-05-13 00:42:51 +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
Daniel Genrich
db3712a2d8 svn merge -r 14721:14810 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-05-12 12:24:52 +00:00
Brecht Van Lommel
2c9e8e7593 Fix for bug #11140: explode modifier could run out of memory quite
quickly because it allocated a totvert*totvert size array, now uses
edgehash instead.
2008-05-12 11:48:55 +00:00
Peter Schlaile
97dd2fe33e == FFMPEG ==
Added (disabled) MKV support. Might come handy later, if someone finds
out, why it instantly crashes after 2 frames.

Made it impossible to set min_rate higher than max_rate in render buttons
panel.
2008-05-12 09:01:15 +00:00
Campbell Barton
b01e2c4a84 swapped the order of the UV snap menu so Cursor->Selection the 4th, as with the 3d view. 2008-05-12 07:32:46 +00:00
Joshua Leung
3fd3571964 Bugfix for Separate Armatures:
Constraint relinking now works correctly for this tool, so it should be safe to be used by users now.
2008-05-12 04:25:53 +00:00
Ken Hughes
e9706d6f0d Move variable declaration, wouldn't compiler with MSVC (reports by jms). 2008-05-11 22:51:56 +00:00
Peter Schlaile
c8673be3d6 == FFMPEG ==
Add ffmpeg expert option (meaning _all_ ffmpeg option) to render dialog
using properties.

Also adds: H264 preset, that doesn't screw up output.
2008-05-11 20:40:55 +00:00
Campbell Barton
e459d5518e transform manipulator didnt follow the active face in some cases, also rotate about active mixed with normal did not work as it did in 2.45, where the active edge could be used
as a rotation 
axis (this is quite useful)
2008-05-11 19:58:46 +00:00
Benoit Bolsee
96486b356f fix BGE bug #8668: Behavior of os.getcwd() is not consistent between operating systems
Add a function GameLogic.expandPath() that works like Blender.sys.expandpath() and is also available in the BlenderPlayer.
Fix the game actuator in the BlenderPlayer to work like in Blender: 
- try first to load the .blend from the current working directory
- if not found, try to load from the startup .blend or runtime base directory
2008-05-11 18:45:30 +00:00
Campbell Barton
6da415d406 bad mistake in last commit, though it still worked. 2008-05-11 14:29:11 +00:00
Campbell Barton
50a282559c revealing selected faces in the UV window with sync selection disabled and when both UV and editmode were are in face-sel-mode would result in selected faces having unselected
edges.
2008-05-11 13:28:57 +00:00
Ton Roosendaal
e969685df4 Bias for irregular lamp buffers now allow minimum of 0.001.
For larger architecture environments it was proved to be necessary.
2008-05-11 13:27:22 +00:00
Campbell Barton
9bf4e60cb8 Shift+H in editmode with only faces selected would result in selected faces having unselected edges. 2008-05-11 13:10:56 +00:00
Joshua Leung
97e72570d1 NLA Transform Bugfixes:
* Scaling NLA-strips now resets their scale setting correctly at all times
* Added safe-guards against negative scaling being created through the use of the transform tools.

Note: at scale 0 or thereabouts, there will still be a little blip, when keyframes are scaled as if scale were 1.0f. It's quite harmless.
2008-05-11 13:07:40 +00:00
Joshua Leung
2d96d1189f Fix compiler warnings in particle.c and editface.c.
* unitialised/unused vars
2008-05-11 12:57:01 +00:00
Joshua Leung
50bbc0ff23 More bugfixes for Armature Separation/Joining:
* Move armatures out of posemode before joining/separating, so that bones don't mysteriously disappear after the operation
* Added an undo push and fixed up hotkey access for armature separation
2008-05-11 12:34:56 +00:00
Ton Roosendaal
7cceaf13ea Anticipating the final final final rc build #5! 2008-05-11 12:34:39 +00:00
Joshua Leung
cfc767d981 Bugfix:
Found a little bug in the Armature Joining code due to the 'imat' var being defined twice and used for two different things. This was brought to light by Valgrind output (thanks Campbell)
2008-05-11 12:17:52 +00:00
Joshua Leung
1decc569dd Separating armatures should now be more stable than it was, but is still too unstable to enable for release. So for now, the old warning stands. 2008-05-11 11:53:12 +00:00
Campbell Barton
a2528b4123 fix for [#11136] Segmentation fault when copying objects with hairs 2008-05-11 11:34:39 +00:00
Stephen Swaney
aa471f6a80 fix compiler warnings.
tsk tsk - implicit declaration of functions.
2008-05-11 06:11:23 +00:00
Stephen Swaney
a2c10ff1e7 Initial commit for BPy Particle patch #8557 from Cedric Paille
Thanks, Cedric!

*** WARNING ****   This is a Work In Progress   *** Warning ****
2008-05-11 04:15:21 +00:00
Joseph Eagar
33568c3f24 =BPy bugfix=
Little python bugfix, events were never sent to space handlers when using the
manipulator.  This is necessary for e.g. movable pivot pyconstraints.
2008-05-11 02:28:01 +00:00
Campbell Barton
5122cae732 fix for [#11121] mouse wheel dont work when playing animation 2008-05-10 19:05:46 +00:00
Campbell Barton
a404e4aead added access to object alpha since there is alredy ipo access 2008-05-10 13:09:34 +00:00
Campbell Barton
3870080d3f sequencer non-square-pixel display didnt offset correctly, also made this only work with images. (not luma waveforms etc) 2008-05-10 12:43:53 +00:00
Brecht Van Lommel
0bc5855e5d Fix for second part of bug #11107: physics systems were referring to
vertex groups with a number, but this got out of sync if any vertex
group was deleted, now it properly updates it.
2008-05-10 12:33:15 +00:00
Campbell Barton
639ea26638 fix for [#1473] align camera to view : no IPO update 2008-05-10 10:57:22 +00:00
Campbell Barton
76c13cc0f7 fix for [#8359] Sequencer image preview: HOME hotkey zooming at output res, not at "full view"
also made image and sequencer account for aspect ratio and added numpad 1,2,4,8 keys for zooming.
2008-05-09 20:08:28 +00:00
Campbell Barton
f115a5f789 fix for [#6104] CR generates space at String Creation
replace windows line endings (\r\n) with \n rather then inserting spaces.
2008-05-09 17:37:01 +00:00
Brecht Van Lommel
a9d5f74f4b Fix for bug #7030: extrude region doesn't correctly compute
the average normal.
2008-05-09 15:51:20 +00:00
Brecht Van Lommel
90420a15ef Fix for bug #7068: displace node crashes with procedural
texture input as vectors.
2008-05-09 15:32:55 +00:00
Campbell Barton
f7173498f3 missed modifier.c last commit, made explode copy some settings.
added back zr's depth buffer wire stuff, but only when wire is being drawn over solid mode. normal wire objects  will still display correctly.
2008-05-09 15:21:23 +00:00
Campbell Barton
4fa0ba06d6 partial fix for [#11107] two problems with explode modifier and vertex group
tooltip patch from olivs - [#10218] Corrected a few tooltips in shading buttons
2008-05-09 13:59:03 +00:00
Brecht Van Lommel
7e93f5569d Fix for bug #10475: added more dependencies for physics systems
with deflectors and fields for proper dependency graph updates.
2008-05-09 13:04:36 +00:00
Brecht Van Lommel
6a97a2ab33 Fix for bug #8919: uv shadow mesh doesn't update without 3d view
open. Made it so that the dependency graph besides the visible
layers, also updates the edited object.
2008-05-09 12:39:56 +00:00
Brecht Van Lommel
8d6857b915 Fix for bug #10894: objects used as particle duplis couldn't be
transformed properly anymore if they had ipo's, same issue also
fixed for dupliframes.
2008-05-09 10:26:49 +00:00
Campbell Barton
55cbcd125d [#10998] Sequencer: some new features missing from the menu items
also added Shift+H for muting unselected and fixed a problem with marker selection not working in the sequencer (shift+rmb logic was reversed)
2008-05-09 08:01:27 +00:00
Campbell Barton
cfcdf36cd8 fix for [#10330] Can't import packages or modules from a user defined script path in 2.46rc3, works in 2.45 (Windows) 2008-05-08 22:07:00 +00:00
Daniel Genrich
1d043ddf19 Fixes wrong menu entry text - fix provided by nudelZ 2008-05-08 21:39:08 +00:00
Jiri Hnidek
5d8178a120 Potential bug fix of #10999. 2008-05-08 21:33:15 +00:00
Andrea Weikert
7be03f2ae5 == bugfix ==
fix for [#10284] Activate International font hiding text in bookmark window in image browser
- use same font handling for bookmarks as for the regular files.
2008-05-08 20:55:16 +00:00
Brecht Van Lommel
3331bfae48 Bugfix: unwrap pinning did not work correct with aspect ratio option. 2008-05-08 20:38:38 +00:00
Campbell Barton
7a58893bf2 fix for [#10581] 2.46 RC3 Sequence editor on OSX renders PNG files as black/empty
use BLI_join_dirfile which makes sure the slashes are there.
2008-05-08 20:10:50 +00:00
Brecht Van Lommel
ad38297a08 Fix for bug #11005: hue-sat-value node was doing unnecessary
clamping, which not only is suboptimal for working with hdr
images, it was also doing the clamping incorrect.
2008-05-08 19:57:10 +00:00
Kent Mein
106974a9d2 Fixing up the webplugin defines for the Makefiles.
Now you can do one of the following to disable it:
export NAN_NO_PLUGIN=true
export WITH_BF_WEBPLUGIN=false

or
export WITH_BF_WEBPLUGIN=true to enable building it.
(Its set to false by default)

Kent
2008-05-08 18:38:21 +00:00
Campbell Barton
8fdc367e0d 2.46 todo item, added back seam marking tools from UV-face mode.
Since these conflict with loop select its now an option from the mesh tools panel. also made it possible to alt+rmb and alt+shift+rmb to mark other edge flags (creases, 
bevel weights, sharp edges)
2008-05-08 16:33:55 +00:00
Joshua Leung
e71a6bd79e NLA - Bugfix:
Scale and Repeat fields in NLA Transform Properties panel will now ignore negative values instead of clamping them to a near-zero value, which can easily be confused with the strip being 'destroyed'. This shouldn't affect other interface elements, as this change has only been used here. 

(Note: negative scaling should be avoided)
2008-05-08 08:59:36 +00:00
Brecht Van Lommel
205d06f5f4 Fix for bug #11002: particle ipo clump did not allow negative values
like the button in the user interface.
2008-05-08 08:41:56 +00:00
Campbell Barton
18b20396bc this script isnt needed anymore thanks to stivs and gsr 2008-05-08 07:33:20 +00:00
Stephen Swaney
12715ec0fa more shell script tweaking.
Thanks to gsrb3d for hints.
2008-05-07 22:46:20 +00:00
Benoit Bolsee
44cdc480de Fix BGE bug #6054: Camera actuator crashes Blender. The crash occurs when min,max << height (bad practice anyway). 2008-05-07 22:32:45 +00:00
Martin Poirier
2a8caaa6a0 [#10996] Wrong tooltip in "Fields" panel
Also fixed typo and insuficiant length of label Longitudinal
2008-05-07 22:26:47 +00:00
Stephen Swaney
1c7c37deb7 modify script to use long opts; --name vs -n, for example.
This makes epy_docgen.sh compatible with epy_docgen-3.sh.

I am not sure why we would need both scripts.  Perhaps 
someone with epdoc version 3 can test.
2008-05-07 21:21:15 +00:00
Daniel Genrich
a68c03e409 Reason of all this work: Commiting my work-in-progress on reviewed collision system (better + general access to kdop, uses less memory, put it into BLI_* namespace and usage defined like existing BLI_kdtree_*). Deleted old kdop.c 2008-05-07 20:42:16 +00:00
Campbell Barton
48f6c5b05f was missing depgraph update for centering objects in editmode if they were unselected.
ctrl+num keys for switching subsurf didnt work in editmode if the object wasnt selected. changed this to only operate on the editmode object. also 
disallow ctrl+num to change layers for values above 4.
2008-05-07 20:34:34 +00:00
Brecht Van Lommel
3527c10065 Fix for bug #10932: area light bug, points behind the lamp could
also get lit.
2008-05-07 20:24:06 +00:00
Daniel Genrich
3a36304bd9 Resolved other bad files in branch, had to kick old bullet, will have to copy from trunk 2008-05-07 20:06:28 +00:00
Brecht Van Lommel
1584d6a006 Possible fix for #9691: blender failing to allocate memory when rendering
particles on windows, now allocates smaller chunks of memory.
2008-05-07 19:25:43 +00:00
Campbell Barton
5da47ddd02 fps timer was starting off at 0 fps 2008-05-07 18:33:10 +00:00
Daniel Genrich
57932e1752 svn merge -r 13452:14721 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-05-07 17:44:46 +00:00
Brecht Van Lommel
ad5579ec92 Fix for bug #9676: added warning that particles on multires are
not supported on anything else than the first level.
2008-05-07 16:31:49 +00:00
Campbell Barton
bda4e3d19f * added support for exporting dupli objects
* option to export modifier applied objects
* option to export quads as tri's
* added back compress option (will default to enabled if you use .x3dz as the extension)
2008-05-07 15:38:40 +00:00
Brecht Van Lommel
529a8bb949 Fix for bug #10990: edge render AA issue. 2008-05-07 14:58:33 +00:00
Brecht Van Lommel
fa9b01908f Bugfix: modified the tooltip to indicate that the maximum length option
for particle paths applies to children.
2008-05-07 12:23:51 +00:00
Campbell Barton
5e493eeb19 Setting frame in python allowed negative numbers (was casting to a short with no clamping!)
disable capslock option isnt used anywhere.
2008-05-07 07:57:18 +00:00
Campbell Barton
4aa8dd0b63 fix for [#10290] Wire object hid in the back of soled obj.
reverse wire draworder logic from r4059, wire-only meshes were not using a depth buffer which meant they would not be visible at 
all, if they were after an overlapping solid object in the scene (had this problem for peach too).
2008-05-07 00:37:38 +00:00
Campbell Barton
7d2e366e8f fix for [#10180] File Browser buttons disappear after clicking on Window Type button
Spent some time looking into what this could break and it seems like a safe change.
2008-05-06 23:58:15 +00:00
Benoit Bolsee
881802d8a3 BGE patch #10492 approved: getLinearVelocity() now can provide local velocity as well. This patch is harmless and backward compatible; it can go safely into 2.46 release 2008-05-06 20:55:55 +00:00
Andrea Weikert
917865b504 == bugfix ==
[#10312] Append Link (image browser) bug if combined with Open window
The only place where the special handling in newspace is relevenant is when
opening it with the windowtype_pupmenu. All other overlaying windows( render in image space, scriptspace)
should leave imagebrowser/filebrowser space alone.
2008-05-06 19:29:37 +00:00
Campbell Barton
c0d981f6db patches
[#10529] -p command line option fix
[#8844] Glossy controls Python API
2008-05-06 18:57:24 +00:00
Campbell Barton
4255f3c7ab made python add mesh module respect blenders user settings for editmode and view align.
added sys.cleanpath() was a patch in the tracker but blender's internal path cleaning is now more general and can be used from 
python.
2008-05-06 17:54:55 +00:00
Brecht Van Lommel
722f24d153 Fix for bug: drawing x-ray and transparency with sets didn't
work well, now it draws those type of objects from sets also
at the end.
2008-05-06 15:31:17 +00:00
Kent Mein
3ba9069c04 Fixes Makefiles for mac_compat_glext.h by updating some include paths.
Kent
2008-05-06 09:43:28 +00:00
Brecht Van Lommel
04d2a8badc Fix for bug #10734: mirror modifier crash with no axis
enabled for mirroring around.
2008-05-06 08:35:19 +00:00
Joshua Leung
ee87af1e16 Bugfixes:
* NLA scaling was being incorrectly handled with fractional values. This was caused by clamping to integers instead of floats when making sure the scale value was positive. 

* Added checks to help prevent some weird cases that may sometimes occur and cause problems
2008-05-06 07:10:30 +00:00
Peter Schlaile
2b1797d07b == FFMPEG ==
Fixes: [#10703] loading an .avi captured by dosbox causes a segfault
We shouldn't try to close a codec, if we haven't managed to open one... :)
2008-05-05 22:08:50 +00:00
Brecht Van Lommel
b6f5679cf5 Fix for bug #10542: changing particle visualisation type from object to
something else didn't work correct.
Fix for bug #10478: particle system point cache problem.
2008-05-05 21:10:32 +00:00
Brecht Van Lommel
95ed34be4a Fix for bug #10444: environment map crash with qmc. 2008-05-05 17:43:13 +00:00
Brecht Van Lommel
d5ffcda5dc Fix for bug #10347: particles reset with orbit around selection
option, was doing unnecessary dependency graph calls.
2008-05-05 17:41:14 +00:00
Kent Mein
b36fe51c7d Fixed some indentation, I stumbled across (spaces vs tabs)
and also removed return 0 from a void stub.

Kent
2008-05-05 17:29:11 +00:00
Kent Mein
4c0bcbf4da fix for bad indexing found by Cyril Brulebois
Its making the identity matrix so I just removed the initalizing values
that were out of bounds.

Kent
2008-05-05 17:26:33 +00:00
Joshua Leung
945a083e70 Bugfix:
IPO-Smooth should now give better results. It uses a moving-window approach, which looks at two points on either side of the point in interest (a total of 5 in optimal conditions), and does a weighted average on it.
2008-05-05 06:38:19 +00:00
Campbell Barton
02afc94932 fix for [#10458] Rc4 Blender crash when activate playback FPS than Alt+A to play animation. 2008-05-05 06:30:19 +00:00
Campbell Barton
65b2f4397c matt ebb found a case where removing the "Real" world button was bad. 2008-05-05 01:46:35 +00:00
Ken Hughes
17db1906c8 Fix potential buffer overflow (found by Cyril Brulebois). 2008-05-05 00:42:18 +00:00
Benoit Bolsee
cf654b44b6 Fix BGE bug in patch #8724 (memory optimization): serious problem with alpha texture when Use Blender Material is active and several objects have same texture. This bug messes up greatly with OpenGL texture. The GE is not usable without this fix. 2008-05-04 21:14:38 +00:00
Peter Schlaile
32099649e3 == Sequencer ==
Added the missing directory selector button for proxy custom storage...
2008-05-04 17:03:10 +00:00
Campbell Barton
c734c0b199 hopefully the last one... 2008-05-04 15:56:59 +00:00
Peter Schlaile
175a0c34f7 == Sequencer ==
Fixed order of operation in 3-way color corrector according to

http://rebelsguide.com/forum/viewtopic.php?t=810

Thanks to mindrones for pointing this out.
2008-05-04 15:39:27 +00:00
Campbell Barton
6c05a92fe1 missed out on some BLI_convertstringcode's, also found that playing relative quicktime paths from the python api never worked, was using the 'Scene' type cast to a char. 2008-05-04 15:02:48 +00:00
Ken Hughes
7aa6833499 More compiler fixes for BLI_convertstringcode calls 2008-05-04 14:14:09 +00:00
Joshua Leung
e6be454787 More compiler fixes for BLI_convertstringcode calls 2008-05-04 11:09:30 +00:00
Campbell Barton
5e3f871f65 also look for ndof plugin in $HOME/.blender/plugins/3DxNdofBlender.plug, for linux distro's where blender is installed in /usr/bin/blender, installing plugins in /usr/bin/plugins would not be acceptable. 2008-05-04 11:00:33 +00:00
Joshua Leung
0dfd373c39 More fixes for compiling 2008-05-04 10:48:45 +00:00
Joshua Leung
b7de3918fb Fix for compiling with FFMPEG enabled due to BLI_convertstringcode 2008-05-04 10:28:10 +00:00
Campbell Barton
110f927c63 Changed frame numbering to only alter hashes if they are in the filename (not the directory name) to fix bug [#10566] File Open Dialog replaces '#' with '0' in directory names.
removed frame numbering from BLI_convertstringcode into its own function (BLI_convertstringframe), many uses of BLI_convertstringcode were passing dummy frames values anyway.
in cases where adding the current frame number to a filename is needed run BLI_convertstringframe(...) after BLI_convertstringcode(...)

There are some cases Im not sure BLI_convertstringframe is needed, these have been commented as todo, but at least have the same functionality they used to.
2008-05-04 09:41:15 +00:00
Campbell Barton
275f1b6f49 own error assigning a value out of array bounds thanks Cyril Brulebois for pointing this out. 2008-05-03 09:35:20 +00:00
Joshua Leung
f190e4e0e2 Added missing menu entries for Preview Range tools 2008-05-03 02:50:07 +00:00
Willian Padovani Germano
5ad6b3f8dd == PyNodes ==
More bug fixing, reports by Juho (bebraw) Vepsalainen (thanks!)

#10340: a recent fix I made broke handling of pynodes with buggy scripts when loaded from a .blend. (This may have been the reason for #10341, too, caused by saving buggy typeinfo.)

http://projects.blender.org/tracker/?func=detail&atid=125&aid=10340&group_id=9
2008-05-02 20:41:33 +00:00
Benoit Bolsee
e7a106625c BGE bug fix: set parent actuator change the orientation of object 2008-05-02 17:22:28 +00:00
Benoit Bolsee
f0a41d9d97 Partially revert BGE bug fix #8863: don't send keyboard sensor positive pulse on level, this would badly interfere with keyboard sensors controlling set scene/restart scene actuators. Only send negative pulse on level to stop actuators after scene suspend 2008-05-02 15:47:08 +00:00
Jean-Luc Peurière
b846e7a3bf fix for #7314
solution provided by Leandro Inocencio
2008-05-02 15:45:15 +00:00
Jiri Hnidek
e1090eed41 Fix for bug #8825. find_first_point() finds first points of implicite surface in better way now. It goes
from center of every metalement to 26 directions and try to find every place, where implicite function 
crosses zero value. Size of step is size of polygonization cube. It can be proofed, that smaller size of step 
is useless.
2008-05-02 12:43:46 +00:00
Brecht Van Lommel
71284880d3 Bugfix: reading in function pointers from a 64 bit .blend on 32 bit
gave "memory block reconstruct: end corrupt" errors. This bug was
harmless, just gave ugly error messages.
2008-05-02 10:22:44 +00:00
Willian Padovani Germano
9ea5788c37 == PyNodes ==
Bug #10104 reported by bebraw: missing check for how many node sockets were being created by a pynode script. Too many (more than MAX_SOCKET == 64) would crash Blender.

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

Notes: moved the MAX_SOCKET define from node.c to BKE_node.h so I could use it in Node.c. Also improved error reporting in pynodes when errors occur in the init stage.

Thanks Juho (bebraw), Tom (assigned the bug to me) and Brecht (mentioned the MAX_SOCKET define).
2008-05-01 22:28:18 +00:00
Benoit Bolsee
d99ddc5cf8 Fix BGE bug #8863: Keyboard Sensor does not send negative pulse if key released while scene suspended. The fix covers keyboard and mouse sensor 2008-05-01 20:43:18 +00:00
Campbell Barton
57b819301c stop centering objects from moving children 2008-05-01 20:31:57 +00:00
Campbell Barton
ca83969287 deleting a vertex group didn't update the buttons window when the 3d view wasnt open. it also didn't update the 3dview weight paint colors.
copying a group kept appending "_copy" and rose an error when the string was too long. now just add one _copy prefix and number uniquely.
2008-05-01 19:46:05 +00:00
Ken Hughes
a87d82023a Add library.name attribute, which returns the actual library name used by blender (this may be different from the library.filename attribute). 2008-05-01 18:52:26 +00:00
Campbell Barton
3eac2b2faa fix for [#10148] 3D preview render does not update on mouse rotate and pan
(own fault when replacing magic numbers)
2008-05-01 18:46:50 +00:00
Martin Poirier
8c1b594ed3 Surface bugfix (reported by jms on the french newsgroup)
Adding Donut or Sphere surfaces with the Align to View option turned on added broken surfaces.

Those two surface type were always aligned in the past and their creation method were not made to deal with this. Fixed now (that is, they are aligned to view and created correctly if the option is on).

There might be other cases of this bug elsewhere.
2008-05-01 18:16:21 +00:00
Brecht Van Lommel
0d1aa8d7bf Fix for bug #10144: "set editable" on a disabled particle system
could cause crashes.
Fix related to bug #10198: particle mode didn't respect undo steps
set to 0.

Also made the memory statistics print (ctrl+alt+shift+q) use the
more human readable form to give an overview, instead of printing
out a python script.
2008-05-01 17:31:01 +00:00
Benoit Bolsee
31adad5b4d Fix BGE bug: dynamic-but-not-rigid objects are added as rigid body during the game. 2008-05-01 16:00:59 +00:00
Campbell Barton
09e102fd01 [#8397] "playback fps' jumps all over the map
average over the last 8 times to reduce flickering. ideally this would show how many frames were drawn in the last second. but I think this is good enough just to get an idea how fast the animation is playing without annoying flicker.
2008-05-01 14:51:06 +00:00
Benoit Bolsee
eef2b7e125 Complement to bug fix #8869: crash with alpha mesh 2008-05-01 12:35:21 +00:00
Nathan Letwory
0b3118980f * add missing int rel to BPy_Library and BPy_LibraryData 2008-05-01 08:11:08 +00:00
Ken Hughes
3d2758a3bd Add support to bpy.library module for relative paths. 2008-05-01 05:52:35 +00:00
Benoit Bolsee
3a430c33d2 fix BGE bug #8869: Added objects are not lit correctly
The current layer information is now stored in KX_GameObject and inherited from the parent object when dynamically added. This information is used during the rendering the select the lamps. As the selected lamps are always coming from active layers, their position and orientation are correct.
2008-04-30 19:58:44 +00:00
Brecht Van Lommel
93ba2dd6a1 Fix for bug #9867: issues with making particle systems local. 2008-04-30 13:29:57 +00:00
Brecht Van Lommel
e997e6b1fc Fix for bug #8963: there was still an issue with SSS and transparency
in the shading because of ramps.
2008-04-30 12:02:09 +00:00
Andrea Weikert
b1d841f2c4 == bugfix ==
fix for [#6580] invalid file names not handled consistently when saving
only affects windows, where invisible file stream could be created if filename contains ':'
2008-04-29 21:43:17 +00:00
Brecht Van Lommel
4be6ef5758 Fix for bug #8910: FSA + spotlight halo not working correct together. 2008-04-29 19:51:23 +00:00
Andrea Weikert
e7c3ff6458 == mmap for win32 ==
replacement for mmap/munmap on Windows.
Implemented using CreateFileMapping/MapViewOfFile.
2008-04-29 18:41:34 +00:00
Brecht Van Lommel
391bd70d42 Fix for bug #9014: crash saving the depth pass with openexr or hdr,
both file formats crashed on saving images with less than 4 channels.
2008-04-29 16:57:39 +00:00
Jean-Luc Peurière
b6a6507ddf getting ARB shaders working again in GE.
This is is a kludge, and only to get a release
working. later solution is to use glew
2008-04-29 16:22:13 +00:00
Brecht Van Lommel
17d83bfefb Fix for octree filling print when rendering, the counter was per object,
now counts all faces as it did before.
2008-04-29 15:19:58 +00:00
Brecht Van Lommel
d5bfb1b6d9 Fix for bug #8949: diffuse tangent shading did not use correctly
normalized normal. Patch by André Pinto, thanks!
2008-04-29 13:51:47 +00:00
Brecht Van Lommel
8370991710 Fix for bug #9657: ipo's on the object in particle object visualisation
didn't always get correct time.
2008-04-29 09:56:52 +00:00
Campbell Barton
db9c14a574 fix gcc warnings 2008-04-29 08:24:33 +00:00
Joshua Leung
cc22fddec8 Bugfix #9676; Assigning Driver to Own Object when Pinning IPO Editor
When the IPO Editor is pinned, drivers will now be handled as if they belonged to the object that the ipo-belonged to when the ipo was pinned. This behaviour is more predictable than using the active object.
2008-04-29 03:19:11 +00:00
Nathan Letwory
484a00a817 * make makesdna dependant on DNA header files too, instead of relying on makesdna dependency only.
Fix through pointer by jaguarandi. Thanks!
2008-04-28 22:19:03 +00:00