blender.git
11 years agoCloth: Bugfix for IRIX compile (hopefully), bugfix for multiple springs (appeared...
Daniel Genrich [Sun, 2 Mar 2008 22:01:43 +0000 (22:01 +0000)]
Cloth: Bugfix for IRIX compile (hopefully), bugfix for multiple springs (appeared on triangles), _test_ for inlining on msvc

11 years agoNSIS Installer:
Simon Clitherow [Sun, 2 Mar 2008 20:12:06 +0000 (20:12 +0000)]
NSIS Installer:

Committing the changes used for 2.45 and the upcoming 2.46 release :)

(Better late than never!)

11 years agoPy API - rename UndoPush to SaveUndoState
Campbell Barton [Sun, 2 Mar 2008 15:57:19 +0000 (15:57 +0000)]
Py API - rename UndoPush to SaveUndoState

11 years ago== Sequencer ==
Peter Schlaile [Sun, 2 Mar 2008 14:54:45 +0000 (14:54 +0000)]
== Sequencer ==

Fixed a bug with ibuf caching on startstill / endstill.

The new blend modes happened to force start and endstill to be rendered
over and over again. This could get very annoying especially on scene
strips.

We therefore now cache the original start or endstill ibuf seperately
and copy on demand.

11 years ago* to be able to properly compile this, the friend needs 'class' too: friend class...
Nathan Letwory [Sun, 2 Mar 2008 09:39:14 +0000 (09:39 +0000)]
* to be able to properly compile this, the friend needs 'class' too:  friend class CcdOverlapFilterCallBack

11 years ago* temproary -> temporary topy fxi
Nathan Letwory [Sun, 2 Mar 2008 08:49:39 +0000 (08:49 +0000)]
* temproary -> temporary topy fxi

11 years agoBugfix:
Joshua Leung [Sun, 2 Mar 2008 01:17:17 +0000 (01:17 +0000)]
Bugfix:

Disabled fully OpenGl-based drawing of keyframes in the Action Editor. This was apparently causing problems on some Intel cards...

11 years agomade it possible to type in ~ at the start of the filename, ~/Desktop for instance.
Campbell Barton [Sun, 2 Mar 2008 00:26:13 +0000 (00:26 +0000)]
made it possible to type in ~ at the start of the filename, ~/Desktop for instance.
Enabled for win32 and in the image browser.

11 years agoVarious mem leaks related to CValue reference count fixed
Benoit Bolsee [Sat, 1 Mar 2008 19:46:50 +0000 (19:46 +0000)]
Various mem leaks related to CValue reference count fixed

11 years agoMem leak fixed in sound buffer & parent invert node
Benoit Bolsee [Sat, 1 Mar 2008 19:29:01 +0000 (19:29 +0000)]
Mem leak fixed in sound buffer & parent invert node

11 years agoRadar/Near sensor performance problem fixed
Benoit Bolsee [Sat, 1 Mar 2008 19:17:37 +0000 (19:17 +0000)]
Radar/Near sensor performance problem fixed

11 years agounknown property fixed in sensor/actuators
Benoit Bolsee [Sat, 1 Mar 2008 19:05:41 +0000 (19:05 +0000)]
unknown property fixed in sensor/actuators

11 years agorandom sensor fixed (patch 8414)
Benoit Bolsee [Sat, 1 Mar 2008 18:46:23 +0000 (18:46 +0000)]
random sensor fixed (patch 8414)

11 years ago_DEBUG defined in release build of node project
Benoit Bolsee [Sat, 1 Mar 2008 18:41:32 +0000 (18:41 +0000)]
_DEBUG defined in release build of node project

11 years ago-> Bevel modifier cleanup
Geoffrey Bantle [Sat, 1 Mar 2008 16:32:23 +0000 (16:32 +0000)]
-> 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.

11 years agoBugfix:
Ton Roosendaal [Sat, 1 Mar 2008 14:54:18 +0000 (14:54 +0000)]
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...

11 years agofix for [#8408] Indentation error in text editor when typing a colon anywhere
Campbell Barton [Sat, 1 Mar 2008 12:31:00 +0000 (12:31 +0000)]
fix for [#8408] Indentation error in text editor when typing a colon anywhere

11 years agoFix for bug [#8405] makeParentDeform segfaults Blender
Campbell Barton [Sat, 1 Mar 2008 10:59:38 +0000 (10:59 +0000)]
Fix for bug [#8405] makeParentDeform segfaults Blender
linking armatures to objects didnt make pose data.

11 years ago'Bug'-fix #8404:
Joshua Leung [Sat, 1 Mar 2008 04:03:06 +0000 (04:03 +0000)]
'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.

11 years agoThis commit contains the addition of a greek translation thanks to
Tom Musgrove [Sat, 1 Mar 2008 03:56:16 +0000 (03:56 +0000)]
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.

11 years agoSplit the add_hook function into two parts (user interaction + actual operations)
Joshua Leung [Sat, 1 Mar 2008 03:45:04 +0000 (03:45 +0000)]
Split the add_hook function into two parts (user interaction + actual operations)

11 years agoRemoved warning from py-api code
Joshua Leung [Sat, 1 Mar 2008 03:42:09 +0000 (03:42 +0000)]
Removed warning from py-api code

11 years agoWrap UndoPush with python, needed for apricot, so changes made be scripts can have...
Campbell Barton [Fri, 29 Feb 2008 20:45:57 +0000 (20:45 +0000)]
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.

11 years ago-> Bevel cleanup
Geoffrey Bantle [Fri, 29 Feb 2008 20:26:35 +0000 (20:26 +0000)]
-> 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....

11 years agoFix segmentation fault in Image node when change the Layer in EXR files.
Diego Borghetti [Fri, 29 Feb 2008 19:19:31 +0000 (19:19 +0000)]
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)

11 years agoFix for bug #8403: a radiosity render crash.
Brecht Van Lommel [Fri, 29 Feb 2008 16:52:46 +0000 (16:52 +0000)]
Fix for bug #8403: a radiosity render crash.

11 years ago* Made BLI_join_dirfile() check before adding a slash between dir and file so as...
Campbell Barton [Fri, 29 Feb 2008 15:50:28 +0000 (15:50 +0000)]
* 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)

11 years agoFix segfault when save the render with Multilayer format.
Diego Borghetti [Fri, 29 Feb 2008 15:36:24 +0000 (15:36 +0000)]
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.

11 years agoFix for bug rendering scene layers from the compositor and scene sets,
Brecht Van Lommel [Fri, 29 Feb 2008 13:29:15 +0000 (13:29 +0000)]
Fix for bug rendering scene layers from the compositor and scene sets,
two functions were both using the same LIB_DOIT flag, gave conflicts.

11 years agoBugfix: DPX menu entry for saving renders was missing, caused by
Brecht Van Lommel [Fri, 29 Feb 2008 12:23:26 +0000 (12:23 +0000)]
Bugfix: DPX menu entry for saving renders was missing, caused by
DDS saving not being uncommented consistently.

11 years agoDidnt set the image output node active before browsing the files.
Campbell Barton [Fri, 29 Feb 2008 10:13:34 +0000 (10:13 +0000)]
Didnt set the image output node active before browsing the files.

11 years agoParticle weights weren't drawn properly in particle mode. There also was some lag...
Janne Karhu [Fri, 29 Feb 2008 08:31:11 +0000 (08:31 +0000)]
Particle weights weren't drawn properly in particle mode. There also was some lag in updating the colors when changing particle edit brushes.

11 years ago* Fix for own big, Adding group objects from the outliner didnt check they were exter...
Campbell Barton [Thu, 28 Feb 2008 23:14:55 +0000 (23:14 +0000)]
* 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

11 years agoCloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster...
Daniel Genrich [Thu, 28 Feb 2008 23:12:50 +0000 (23:12 +0000)]
Cloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster + bugfix for explode), Changed: Collision response also put vertices back to surface now

11 years agoPossible bugfix for weird FFMPEG files, I have no idea if that cases can even occur...
Daniel Genrich [Thu, 28 Feb 2008 21:57:24 +0000 (21:57 +0000)]
Possible bugfix for weird FFMPEG files, I have no idea if that cases can even occur - Please take a look Peter.

11 years agochanging default SDL audio driver for linux to alsa since its default in 2.6 kernel...
Campbell Barton [Thu, 28 Feb 2008 21:27:48 +0000 (21:27 +0000)]
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.

11 years agoFix segfault with bad setting in the Image node.
Diego Borghetti [Thu, 28 Feb 2008 20:26:00 +0000 (20:26 +0000)]
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.

11 years agoCloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, ...
Daniel Genrich [Thu, 28 Feb 2008 18:57:14 +0000 (18:57 +0000)]
Cloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, #blendercoders)

11 years agoFix for bug #8357: metaball rendering + radiosity was broken.
Brecht Van Lommel [Thu, 28 Feb 2008 18:54:25 +0000 (18:54 +0000)]
Fix for bug #8357: metaball rendering + radiosity was broken.

11 years agoBugfix: compositor Blur node Bokeh option gave wrong results at the
Brecht Van Lommel [Thu, 28 Feb 2008 15:23:44 +0000 (15:23 +0000)]
Bugfix: compositor Blur node Bokeh option gave wrong results at the
bottom pixels of the image.

11 years agoBugfix: jitterd particle distribution was really slow for a large
Brecht Van Lommel [Thu, 28 Feb 2008 13:31:25 +0000 (13:31 +0000)]
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.

11 years agoBugfix: texture effectors didn't link in their textures.
Brecht Van Lommel [Thu, 28 Feb 2008 11:39:13 +0000 (11:39 +0000)]
Bugfix: texture effectors didn't link in their textures.

11 years agoBugfix:
Joshua Leung [Thu, 28 Feb 2008 02:25:23 +0000 (02:25 +0000)]
Bugfix:

Outliner drawing crashed after "Merge Bones" operation (Alt-M) if the end-bone of the merge had a child.

11 years agoCloth: 1. Bugfix for possible memory leak reported by Kenneth Styrberg (via mailing...
Daniel Genrich [Thu, 28 Feb 2008 00:01:19 +0000 (00:01 +0000)]
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

11 years agoleft in prints
Campbell Barton [Wed, 27 Feb 2008 23:11:04 +0000 (23:11 +0000)]
left in prints

11 years agoFix for [#8382] UV unwrap & export puts seams on all edges.
Campbell Barton [Wed, 27 Feb 2008 23:10:25 +0000 (23:10 +0000)]
Fix for [#8382] UV unwrap & export puts seams on all edges.
Maya uses OBJ's UV's to generate seams, some people complained that models imported from blender didnt work well in maya.
It was faster to write every faces UV (without doing a remove doubles), but sharing UV coords makes smaller files and might also be more efficient in other applications.

11 years agoBugfix: NewBooleanMesh() would return 'internal error' no matter what happened -...
Daniel Genrich [Wed, 27 Feb 2008 20:17:03 +0000 (20:17 +0000)]
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)

11 years agoFix for bug #8373: using SSS the rendertime could be reported wrong.
Brecht Van Lommel [Wed, 27 Feb 2008 20:10:05 +0000 (20:10 +0000)]
Fix for bug #8373: using SSS the rendertime could be reported wrong.

11 years agoFix for bug #8380: snapping in the uv editor didn't work with
Brecht Van Lommel [Wed, 27 Feb 2008 19:35:27 +0000 (19:35 +0000)]
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.

11 years agoFix for making vectoquat threadsafe, missed a warning.
Brecht Van Lommel [Wed, 27 Feb 2008 17:43:23 +0000 (17:43 +0000)]
Fix for making vectoquat threadsafe, missed a warning.

11 years agoBugfix: Copy Modifiers with particle systems crashed, it didn't copy
Brecht Van Lommel [Wed, 27 Feb 2008 17:04:58 +0000 (17:04 +0000)]
Bugfix: Copy Modifiers with particle systems crashed, it didn't copy
the particle systems.

11 years agoFix for part of bug #8376: shift+MMB dragging the view didn't work in
Brecht Van Lommel [Wed, 27 Feb 2008 14:26:47 +0000 (14:26 +0000)]
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.

11 years agoFix for bug: cross platform strand render differences with kink/branch.
Brecht Van Lommel [Wed, 27 Feb 2008 14:17:32 +0000 (14:17 +0000)]
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.

11 years agoadded missing call to reset teh toolbox - Only effected Python treemenu's
Campbell Barton [Wed, 27 Feb 2008 14:15:14 +0000 (14:15 +0000)]
added missing call to reset teh toolbox - Only effected Python treemenu's

11 years ago-> Minification filter type for FLT attrib files
Geoffrey Bantle [Wed, 27 Feb 2008 11:52:19 +0000 (11:52 +0000)]
-> Minification filter type for FLT attrib files

-Changed the minification filter type from Bilinear to
mipmap-trilinear

11 years agoFix for dupli rendering bug, with a duplicating particle system using
Brecht Van Lommel [Wed, 27 Feb 2008 11:50:20 +0000 (11:50 +0000)]
Fix for dupli rendering bug, with a duplicating particle system using
groups that were not in the scene. Also commented the code better.

11 years agoadding stubs for player
Jean-Luc Peurière [Wed, 27 Feb 2008 11:47:07 +0000 (11:47 +0000)]
adding stubs for player

11 years agoBugfix [#8328] Python scripts from user defined location doesn't load
Campbell Barton [Wed, 27 Feb 2008 10:02:40 +0000 (10:02 +0000)]
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

11 years agoshould fix bug on win32 with user python menu's not loading because stat() didnt...
Campbell Barton [Wed, 27 Feb 2008 09:48:43 +0000 (09:48 +0000)]
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.

11 years agoCloth: fixed completely useless/wrong friction force; changed some initial settings
Daniel Genrich [Wed, 27 Feb 2008 03:23:17 +0000 (03:23 +0000)]
Cloth: fixed completely useless/wrong friction force; changed some initial settings

11 years ago== MSVC 7.1 projectfiles ==
Andrea Weikert [Tue, 26 Feb 2008 23:39:52 +0000 (23:39 +0000)]
== MSVC 7.1 projectfiles ==
- added missing files rev. 13829 (Bevel tools and Bmesh kernel
) commit.

11 years agoGoing into vertex paint mode without vertex colors, now it doesn't
Brecht Van Lommel [Tue, 26 Feb 2008 18:30:41 +0000 (18:30 +0000)]
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.

11 years agoWeight, vertex and texture paint modes now don't draw the active
Brecht Van Lommel [Tue, 26 Feb 2008 17:46:22 +0000 (17:46 +0000)]
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.

11 years ago== BPython ==
Willian Padovani Germano [Tue, 26 Feb 2008 17:23:56 +0000 (17:23 +0000)]
== 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.

11 years agoFix for bug #6854: meta object crash with preview render. Meta objects
Brecht Van Lommel [Tue, 26 Feb 2008 16:20:36 +0000 (16:20 +0000)]
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.

11 years agoCloth: make cloth more crash resistant if memory allocation failed
Daniel Genrich [Tue, 26 Feb 2008 14:25:29 +0000 (14:25 +0000)]
Cloth: make cloth more crash resistant if memory allocation failed

11 years agoBugfix [#8365] cresh by RMB selecting object in 3D_View from set of overlapping objects
Daniel Genrich [Tue, 26 Feb 2008 14:00:13 +0000 (14:00 +0000)]
Bugfix [#8365] cresh by RMB selecting object in 3D_View from set of overlapping objects

11 years agoTweak bugfix #8347 a bit, the self intersection problem with raytraced
Brecht Van Lommel [Tue, 26 Feb 2008 13:05:18 +0000 (13:05 +0000)]
Tweak bugfix #8347 a bit, the self intersection problem with raytraced
shadows and jittering.

11 years agoHair particles with object or group visualisation didn't take the
Brecht Van Lommel [Tue, 26 Feb 2008 11:48:12 +0000 (11:48 +0000)]
Hair particles with object or group visualisation didn't take the
rotation settings into account. Now if rotation is not set to None,
instead of automatically deriving it from the particle path (which
is useful for feathers), it uses the rotation settings (useful for
distributing twigs randomly).

11 years agoBugfix: recent rollback of premul changes gave issues. The premul
Brecht Van Lommel [Tue, 26 Feb 2008 11:38:32 +0000 (11:38 +0000)]
Bugfix: recent rollback of premul changes gave issues. The premul
flag bit was changed and not changed back, and the flag was moved
back from image user to image. This meant that files saved both
before and during the premul changes did not read premul settings
correct anymore.

Now it uses the old premul flag bit again, which also keeps forward
compatibility.

11 years agoCloth: Little (bug)fix to let springs appear as an upper tridiagonal matrix
Daniel Genrich [Tue, 26 Feb 2008 09:55:07 +0000 (09:55 +0000)]
Cloth: Little (bug)fix to let springs appear as an upper tridiagonal matrix

11 years agoPopup menus for displaying names of groups available for selection now draw with...
Joshua Leung [Tue, 26 Feb 2008 06:33:06 +0000 (06:33 +0000)]
Popup menus for displaying names of groups available for selection now draw with multiple columns when the number of entries cannot fit in a single column (and be editable).

11 years agoremoved mingw from the list of platforms to use the
Joseph Eagar [Tue, 26 Feb 2008 00:04:54 +0000 (00:04 +0000)]
removed mingw from the list of platforms to use the
debug python lib, as it was causing link errors.

if someone wishes to figure out why this is messing up,
go ahead.

11 years agoAdded PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Campbell Barton [Mon, 25 Feb 2008 18:35:35 +0000 (18:35 +0000)]
Added PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Without them blender would crash when reloading scripts.

11 years agoBugfix: dupliparticles didn't respect the enabled button for the
Brecht Van Lommel [Mon, 25 Feb 2008 17:20:35 +0000 (17:20 +0000)]
Bugfix: dupliparticles didn't respect the enabled button for the
particle system, could crash.

11 years agoBugfix for some particle system vertex group memory leaks.
Brecht Van Lommel [Mon, 25 Feb 2008 16:46:58 +0000 (16:46 +0000)]
Bugfix for some particle system vertex group memory leaks.

11 years agoFix for bug #7914: when rendering ray transparency with premul or key,
Brecht Van Lommel [Mon, 25 Feb 2008 15:08:46 +0000 (15:08 +0000)]
Fix for bug #7914: when rendering ray transparency with premul or key,
the alpha channel was set wrong.

11 years agoFix for #6686: crash with array modifier fit to curve option, could
Brecht Van Lommel [Mon, 25 Feb 2008 13:05:08 +0000 (13:05 +0000)]
Fix for #6686: crash with array modifier fit to curve option, could
create a too large amount of duplicates.

11 years agoFix for bug #8081: python script crash writing MFace.uv.
Brecht Van Lommel [Mon, 25 Feb 2008 11:55:51 +0000 (11:55 +0000)]
Fix for bug #8081: python script crash writing MFace.uv.

11 years agoFix for bug #8347: bug in raytraced shadow with edgesplit. Problem
Brecht Van Lommel [Mon, 25 Feb 2008 10:58:12 +0000 (10:58 +0000)]
Fix for bug #8347: bug in raytraced shadow with edgesplit. Problem
was the new jittering of the start position gave self intersections,
especially noticable with for example edgesplit because in that case
it can't detect them as well. 'Solution' now is to bias the start
position away from the surface a bit according to how much the start
position was jittered.

11 years ago-> Bevel
Geoffrey Bantle [Mon, 25 Feb 2008 04:53:37 +0000 (04:53 +0000)]
-> Bevel

Fixed the following problems with Bevel code

  -meshes with 2 edged faces left over at the end would cause buffer
   overrun whens converting from a Bmesh to a Derived Mesh. The
   conversion process now checks for both double edges and faces
   and removes them when present.

  -BME_reverse_loop euler had a bug that was causing the corruption of
   radial cycle. This would lead to the bevel tool hanging for a long time
   and possibly crashing.

  -Added optimization of BME_reverse loop so that it no longer does tiny
   allocations but instead uses an area of 'scratch' memory. The same thing
   will be done to the Make Face euler soon

  -Added proper call to selection flushing for editmode.

  -Some miscellaneous cleanups and removal of unneeded debug printfs.

11 years agoPurge of compiler warnings (number 2):
Joshua Leung [Mon, 25 Feb 2008 04:38:48 +0000 (04:38 +0000)]
Purge of compiler warnings (number 2):
* initial values I added in radialcontrol.c might need to be reviewed if they cause problems(I used 200, as it seems many tools were setting that)
* #pragma warnings are the only warnings I still get, so that means we have a clean slate again

11 years agoFix for bug #8351: clicking to select a tabbed panel went
Brecht Van Lommel [Mon, 25 Feb 2008 02:34:09 +0000 (02:34 +0000)]
Fix for bug #8351: clicking to select a tabbed panel went
wrong if there were more, hidden panels tabbed also.

11 years ago== BPython ==
Willian Padovani Germano [Mon, 25 Feb 2008 01:35:50 +0000 (01:35 +0000)]
== BPython ==

[#8354] Blender or Python25.dll crash on... quit, reported by David B. (myvain)

The BPy_FreeButtonsList() function is also called after we call Py_Finalize(). Calling PyGILState_Ensure()/Release() there crashes Blender. Added a test to prevent this, but note that function still runs Python API code to free a buttons list. Doesn't seem to give problems, though. Thanks, David.

11 years agoFix for bug #6747: make single button for node groups didn't work,
Brecht Van Lommel [Sun, 24 Feb 2008 22:27:40 +0000 (22:27 +0000)]
Fix for bug #6747: make single button for node groups didn't work,
functionality was not implemented.

11 years agoCMakeList fix for fluids
Daniel Genrich [Sun, 24 Feb 2008 22:19:17 +0000 (22:19 +0000)]
CMakeList fix for fluids

11 years agoFix for bug #8353: switching particle hair with softbody to emit crashed.
Brecht Van Lommel [Sun, 24 Feb 2008 21:29:20 +0000 (21:29 +0000)]
Fix for bug #8353: switching particle hair with softbody to emit crashed.
Fix for bug #8355: crash zooming in render window.

11 years agoBugfix [#8352]: My OpenMP additions seem to cause errors on MSVC, so I kick them...
Daniel Genrich [Sun, 24 Feb 2008 21:24:39 +0000 (21:24 +0000)]
Bugfix [#8352]: My OpenMP additions seem to cause errors on MSVC, so I kick them leaving 'only' the original OpenMP additions from N_T

11 years agoFix for bug in settings particle reactor recalc.
Brecht Van Lommel [Sun, 24 Feb 2008 19:50:21 +0000 (19:50 +0000)]
Fix for bug in settings particle reactor recalc.

Patch by Thomas Knight, thanks!

11 years agoFix for bug #8324: J-key render buffer switching had various issues.
Brecht Van Lommel [Sun, 24 Feb 2008 19:23:58 +0000 (19:23 +0000)]
Fix for bug #8324: J-key render buffer switching had various issues.
One problem was that the previous render buffer was stored in the
render window or image window itself, which means that when closing
it, or switching from one to the other, things didn't work as expected.
Also in the image editor, color sampling the previous render buffer or
saving it didn't work correct.

11 years ago== Transform Orientations ==
Martin Poirier [Sun, 24 Feb 2008 17:13:52 +0000 (17:13 +0000)]
== Transform Orientations ==

When doing normal orientations from three vertices, if there's a full edge selected, use that to define the tangent (more logical).

11 years ago== PyNodes ==
Willian Padovani Germano [Sun, 24 Feb 2008 16:19:39 +0000 (16:19 +0000)]
== PyNodes ==

Small update to where a PyGILState_Ensure() call is made.

--

Let me use this commit to mention a couple things related to this change to make Python thread-safe in Blender:

1) This page explains the changes: http://wiki.blender.org/index.php/BlenderDev/BPythonAPI/Threads

2) If you experience hangs (deadlocks) when running anything related to Python in Blender, the related part in the code may need a proper Ensure/Release block, as explained in the above link.

From Joshua (aligorith)'s previous commit to this file:

"* various problems related to gilstate calls being added in strange places (could someone familiar with python double check that they're in the right places now)?"

I checked the two places you fixed, second one is ok, the first one needed to be before the call to create a py dict -- done. Thanks for catching them!

11 years agoFix for a recent bugfix, could crash automatic vertex weighting,
Brecht Van Lommel [Sun, 24 Feb 2008 16:08:33 +0000 (16:08 +0000)]
Fix for a recent bugfix, could crash automatic vertex weighting,
forgot to do NULL pointer check.

11 years agoFix for bug #8304: child distribution gave different results across
Brecht Van Lommel [Sun, 24 Feb 2008 14:53:44 +0000 (14:53 +0000)]
Fix for bug #8304: child distribution gave different results across
platforms. Cause was a function(rng_getFloat(), rng_getFloat()),
apparently the order in which rng_getFloat() is evaluated is not
compatible between operating systems.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 24 Feb 2008 13:49:31 +0000 (13:49 +0000)]
== Sequencer ==

Fixes

[#5211] Sound scrubbing does not work after blend file load

also fixes:

if you hit the timeline playbutton, you can reseek by clicking on the timeline.
Now audio doesn't stop anymore and keeps on playing from the new position
instead.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 24 Feb 2008 13:26:27 +0000 (13:26 +0000)]
== Sequencer ==

* Fix button drawing in header finally, sigh.
* Fixes:
  [#8262] Hide Meta Strip does not hide contained Audio

11 years ago-> Bevel Crash Fix (again redux)
Geoffrey Bantle [Sun, 24 Feb 2008 12:57:11 +0000 (12:57 +0000)]
-> Bevel Crash Fix (again redux)

More fixes for 2 edged faces

11 years agoFix for bug #8346: compiling with verse enabled was broken.
Brecht Van Lommel [Sun, 24 Feb 2008 12:23:47 +0000 (12:23 +0000)]
Fix for bug #8346: compiling with verse enabled was broken.

Fix provided by Fabian Boehlke, thanks!

11 years agoFix for bug #8331: compositor nodes backdrop displays in material nodes.
Brecht Van Lommel [Sun, 24 Feb 2008 12:16:27 +0000 (12:16 +0000)]
Fix for bug #8331: compositor nodes backdrop displays in material nodes.
Fix for bug #8083: backdrop not displaying centered in the window.

Fixes for both provided by Fabian Boehlke, thanks!

11 years ago== Sequencer ==
Peter Schlaile [Sun, 24 Feb 2008 12:12:05 +0000 (12:12 +0000)]
== Sequencer ==

Fixes a lot of small things:
* zoom in/out in preview is more fine grained (use SHIFT)
* zebra scopes don't try to draw the border and fail
* lock/unlock now locks/unlocks all selected strips
* fix redraw problems of panel on lock/unlock
* buttons-panel is redrawn on translate, so that position information is shown
* added lock / hide to Strip-Menu
* fixed small drawing problems in header

TODO: find a good key for lock / unlock (Shift-L | Alt-Shift-L isn't that nice
      to press...)