Commit Graph

10077 Commits

Author SHA1 Message Date
Benoit Bolsee
407b2d334d unknown property fixed in sensor/actuators 2008-03-01 19:05:41 +00:00
Benoit Bolsee
8d81e154f6 random sensor fixed (patch 8414) 2008-03-01 18:46:23 +00:00
Geoffrey Bantle
5aed02aafe -> Bevel modifier cleanup
Bevel modifier had several problems. These should be fixed now. The bevel
modifier in editmode cannot have 'apply to cage' checked as the modifier
cannot possibly support mapping. Further, custom data preservation has been
turned off temporarily, but will be added back in soon.
2008-03-01 16:32:23 +00:00
Ton Roosendaal
ea05fef650 Bugfix:
New option "move texture channel up/down" lacked redraw calls.

Featurette:
There's still no manipulator handles for lamps to set cone size, dist, 
clipping. To save our poor Peach artists hours of work I've added a
quick method to at least be able to do it interactive.
Option is hidden behind Wkey, and uses a similar function like Scaling.
(Put mouse cursor close to start value, move mouse to center of lamp)

Ultimately this should move to custom manipulator handles...
2008-03-01 14:54:18 +00:00
Campbell Barton
d560b17088 fix for [#8408] Indentation error in text editor when typing a colon anywhere 2008-03-01 12:31:00 +00:00
Campbell Barton
d1af95f4bb Fix for bug [#8405] makeParentDeform segfaults Blender
linking armatures to objects didnt make pose data.
2008-03-01 10:59:38 +00:00
Joshua Leung
08f9a98bf9 'Bug'-fix #8404:
Action Editor now displays shapekey channels for curves/surfaces too now. This commit may be reverted if there are some corner cases which work really bad with this.
2008-03-01 04:03:06 +00:00
Tom Musgrove
f8f6a049bd This commit contains the addition of a greek translation thanks to
Κωστής Καρβουνιάρης
Kostas Gerontis

Also a patch from Markus Schulz that 

adds buttons to the material, light, and world texture panels to make it 
easy to rearrange the textures in the list without having to 
use copy and paste.
2008-03-01 03:56:16 +00:00
Joshua Leung
416f918fb8 Split the add_hook function into two parts (user interaction + actual operations) 2008-03-01 03:45:04 +00:00
Joshua Leung
a30b582300 Removed warning from py-api code 2008-03-01 03:42:09 +00:00
Campbell Barton
a577bb9fc8 Wrap UndoPush with python, needed for apricot, so changes made be scripts can have undo's as well, otherwise users undo and loose changes the script made. 2008-02-29 20:45:57 +00:00
Geoffrey Bantle
9d05090a86 -> Bevel cleanup
Bevel and bmesh code is in need of some cleanup and fixing.

-Fixed potential crasher in BME_JEKV
-Sped up memory usage of BME_MF
-Removed unused structure members


More to come soon....
2008-02-29 20:26:35 +00:00
Diego Borghetti
0b1ed4c0cd Fix segmentation fault in Image node when change the Layer in EXR files.
The argument in the uiButSetFunc is a Image struct, but
BKE_image_multilayer_index expect a RenderResult struct, so when
you load a exr file and try change the Layer, Blender crash.
(image_layer_cb call BKE_image_multilayer_index)
2008-02-29 19:19:31 +00:00
Brecht Van Lommel
cffb9551db Fix for bug #8403: a radiosity render crash. 2008-02-29 16:52:46 +00:00
Campbell Barton
96247ce19c * Made BLI_join_dirfile() check before adding a slash between dir and file so as not to get /foo///bar.blend
* Pointcache now uses the process id to construct the path for unsaved files. (so 2 or more blender's open wont try to read/write the same pointcache)
* Temp pointcache is cleared when existing blender, added BIF_clear_tempfiles() for this. Should also be usedto clear EXR's in the temp dir (TODO), BIF_clear_tempfiles also needs to be added in more places. (On file load for instace)
2008-02-29 15:50:28 +00:00
Diego Borghetti
95b0176fde Fix segfault when save the render with Multilayer format.
The RE_WriteResult function don't call BLI_make_existing_file
like BKE_write_ibuf, so if you append a directory to the output
path and it don't exist, the exr_begin_write fail to create
the file and blender crash.

Note that this is only 1 line of code and don't touch
anything in the render code.
2008-02-29 15:36:24 +00:00
Brecht Van Lommel
781d13c6d7 Fix for bug rendering scene layers from the compositor and scene sets,
two functions were both using the same LIB_DOIT flag, gave conflicts.
2008-02-29 13:29:15 +00:00
Brecht Van Lommel
8baec10d75 Bugfix: DPX menu entry for saving renders was missing, caused by
DDS saving not being uncommented consistently.
2008-02-29 12:23:26 +00:00
Campbell Barton
e7d58a3a50 Didnt set the image output node active before browsing the files. 2008-02-29 10:13:34 +00:00
Janne Karhu
8f3b48457a Particle weights weren't drawn properly in particle mode. There also was some lag in updating the colors when changing particle edit brushes. 2008-02-29 08:31:11 +00:00
Campbell Barton
5665d9333e * Fix for own big, Adding group objects from the outliner didnt check they were externally linked.
* ping "~" in the fileselectors dir will take you to $HOME (non win32)
* Added a file selector for Node output image
2008-02-28 23:14:55 +00:00
Daniel Genrich
6169b29b3a Cloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster + bugfix for explode), Changed: Collision response also put vertices back to surface now 2008-02-28 23:12:50 +00:00
Daniel Genrich
8c5a22daec Possible bugfix for weird FFMPEG files, I have no idea if that cases can even occur - Please take a look Peter. 2008-02-28 21:57:24 +00:00
Campbell Barton
a2ce30a908 changing default SDL audio driver for linux to alsa since its default in 2.6 kernel's and many users report problems if they dont specifically set it to alsa. 2008-02-28 21:27:48 +00:00
Diego Borghetti
274543627a Fix segfault with bad setting in the Image node.
The limit in the UI tooltips to set the amount of
images used in animation allow the zero value,
that cause a segfault.

This commit fix the UI, add a init value of 1 to
the node and also check in case that
node_composit_get_image return NULL.
2008-02-28 20:26:00 +00:00
Daniel Genrich
5f3e8c3fb6 Cloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, #blendercoders) 2008-02-28 18:57:14 +00:00
Brecht Van Lommel
34fbc56c1c Fix for bug #8357: metaball rendering + radiosity was broken. 2008-02-28 18:54:25 +00:00
Brecht Van Lommel
6f78c1371d Bugfix: compositor Blur node Bokeh option gave wrong results at the
bottom pixels of the image.
2008-02-28 15:23:44 +00:00
Brecht Van Lommel
6af5a98c7e Bugfix: jitterd particle distribution was really slow for a large
number of particles/face. Now for > 25 particles/face it switches
to using a QMC hammersley distribution, much faster, for less
jitter still looks a bit better.
2008-02-28 13:31:25 +00:00
Brecht Van Lommel
97517528d4 Bugfix: texture effectors didn't link in their textures. 2008-02-28 11:39:13 +00:00
Joshua Leung
c8d281e8ed Bugfix:
Outliner drawing crashed after "Merge Bones" operation (Alt-M) if the end-bone of the merge had a child.
2008-02-28 02:25:23 +00:00
Daniel Genrich
905a2d374a Cloth: 1. Bugfix for possible memory leak reported by Kenneth Styrberg (via mailing list), 2. Bugfix for friction again, 3. Preset menu on GUI (thanks to help from nudelZ (#blendercoders), 4. Possibility to disable autoprotect cache, 5. Some cache bugs fixed, 6. Some speedup in generating cloth 2008-02-28 00:01:19 +00:00
Daniel Genrich
08d15d6cb9 Bugfix: NewBooleanMesh() would return 'internal error' no matter what happened - real return values must have been lost on the way. I put the proper return in it's place. (reported by cptf on IRC) 2008-02-27 20:17:03 +00:00
Brecht Van Lommel
7a83e67a46 Fix for bug #8373: using SSS the rendertime could be reported wrong. 2008-02-27 20:10:05 +00:00
Brecht Van Lommel
35f094f209 Fix for bug #8380: snapping in the uv editor didn't work with
non-square images.

Fix for uv limit stitch, was broken since editmode integration.
2008-02-27 19:35:27 +00:00
Brecht Van Lommel
780ea713d5 Fix for making vectoquat threadsafe, missed a warning. 2008-02-27 17:43:23 +00:00
Brecht Van Lommel
fc9a664227 Bugfix: Copy Modifiers with particle systems crashed, it didn't copy
the particle systems.
2008-02-27 17:04:58 +00:00
Brecht Van Lommel
9620bccf5b Fix for part of bug #8376: shift+MMB dragging the view didn't work in
the node editor like other windows. Is already used for backdrop, but
if that isn't enabled it can still do it.
2008-02-27 14:26:47 +00:00
Brecht Van Lommel
cbf278246f Fix for bug: cross platform strand render differences with kink/branch.
This time is was due to different accuracy of floating point computation,
now it uses does a comparison a bit different to avoid this.

Also changed the vectoquat function to be threadsafe.
2008-02-27 14:17:32 +00:00
Campbell Barton
39b5d41fa6 added missing call to reset teh toolbox - Only effected Python treemenu's 2008-02-27 14:15:14 +00:00
Brecht Van Lommel
8da0b6937d Fix for dupli rendering bug, with a duplicating particle system using
groups that were not in the scene. Also commented the code better.
2008-02-27 11:50:20 +00:00
Jean-Luc Peurière
bdaef809d3 adding stubs for player 2008-02-27 11:47:07 +00:00
Campbell Barton
086e8b9b8f Bugfix [#8328] Python scripts from user defined location doesn't load
http://projects.blender.org/tracker/index.php?func=detail&aid=8328&group_id=9&atid=125

last commit had mistakes but tested this to fix the bug.
- Cam
2008-02-27 10:02:40 +00:00
Campbell Barton
b226eb925b should fix bug on win32 with user python menu's not loading because stat() didnt like the trailing slash and returned the dir as missing. 2008-02-27 09:48:43 +00:00
Daniel Genrich
7d310f4e5c Cloth: fixed completely useless/wrong friction force; changed some initial settings 2008-02-27 03:23:17 +00:00
Brecht Van Lommel
21299f2325 Going into vertex paint mode without vertex colors, now it doesn't
create vertex colors from shaded mode anymore. Instead there is
function in vertex paint mode to create them.

Also some fixes for previous commits.
2008-02-26 18:30:41 +00:00
Brecht Van Lommel
a88627d56e Weight, vertex and texture paint modes now don't draw the active
object on top of everything anymore. It can be useful to see objects
that are in front too, and if you don't want to see them you can
just go into local viewmode. It's also more consistent with editmode
which doesn't draw on top either.
2008-02-26 17:46:22 +00:00
Willian Padovani Germano
2089ac3091 == BPython ==
Another experiment to support threading properly. By default the Python Interpreter releases its lock every 100 instructions so that other threads get a chance to run Python code and API calls. But that is not enough to prevent race conditions causing artifacts (and maybe crashes) during threaded rendering, since all threads will access the same pynodes data.

So I'm disabling this automatic releasing of the lock (the GIL) by the interpreter, which seems to be a better option for how Blender uses Python.
2008-02-26 17:23:56 +00:00
Brecht Van Lommel
995262728f Fix for bug #6854: meta object crash with preview render. Meta objects
were using an ugly trick to store render orco's, but there's really no
reason for it, now it works like other primitives.
2008-02-26 16:20:36 +00:00
Daniel Genrich
f9fb9965aa Cloth: make cloth more crash resistant if memory allocation failed 2008-02-26 14:25:29 +00:00