Commit Graph

10860 Commits

Author SHA1 Message Date
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
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
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
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
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
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