Commit Graph

10765 Commits

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