9 years agoFinally, this should really fix the msvc and old ubuntu compiler problems with NAN...
Joerg Mueller [Sat, 20 Mar 2010 23:36:08 +0000 (23:36 +0000)]
Finally, this should really fix the msvc and old ubuntu compiler problems with NAN and finite.

9 years agodrawing text in a byte buffer wasnt working (probably never tested since float buffer...
Campbell Barton [Sat, 20 Mar 2010 23:31:48 +0000 (23:31 +0000)]
drawing text in a byte buffer wasnt working (probably never tested since float buffer is used for rendering)

9 years agoYet another try to get NaN working on MSVC.
Joerg Mueller [Sat, 20 Mar 2010 20:00:15 +0000 (20:00 +0000)]
Yet another try to get NaN working on MSVC.

9 years agoHopefully another fix for MSVC...
Joerg Mueller [Sat, 20 Mar 2010 19:51:38 +0000 (19:51 +0000)]
Hopefully another fix for MSVC...

9 years ago- submit docs now uses the new dialog with an OK button
Campbell Barton [Sat, 20 Mar 2010 19:22:34 +0000 (19:22 +0000)]
- submit docs now uses the new dialog with an OK button
- submitting operator docs sent them twice.

9 years agoremove unused includes for blenlib, left ifdef's for non linux os's alone.
Campbell Barton [Sat, 20 Mar 2010 18:52:03 +0000 (18:52 +0000)]
remove unused includes for blenlib, left ifdef's for non linux os's alone.

9 years agopatch #21680 from Richard Olsson
Campbell Barton [Sat, 20 Mar 2010 18:03:59 +0000 (18:03 +0000)]
patch #21680 from Richard Olsson

This is so python scripts can have popups which do not redo all the time.

9 years agowarning fix
Campbell Barton [Sat, 20 Mar 2010 16:56:52 +0000 (16:56 +0000)]
warning fix

9 years agomerge own commits into render branch into trunk since 27560
Campbell Barton [Sat, 20 Mar 2010 16:41:01 +0000 (16:41 +0000)]
merge own commits into render branch into trunk since 27560
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623

9 years agoReplacing NAN with C++ limits version, hope that works for MSVC...
Joerg Mueller [Sat, 20 Mar 2010 16:28:51 +0000 (16:28 +0000)]
Replacing NAN with C++ limits version, hope that works for MSVC...

9 years agoFix [#21658] file browser "hide invisible" doesn't hide anything
Andrea Weikert [Sat, 20 Mar 2010 14:23:56 +0000 (14:23 +0000)]
Fix [#21658] file browser "hide invisible" doesn't hide anything
- moved global hide_dot to filelist.
- hiding dot files is now included in the filtering of files, which means that for this directory also doesn't have to be read anymore.
- reverted changes of rev. 27491 and related changes in rev. 27523 in favor of a more general abstraction for the different 'file browser modes' with respect to filtering.

9 years agoFix for [#21639] Playback with AV-sync and None sound system.
Joerg Mueller [Sat, 20 Mar 2010 11:50:27 +0000 (11:50 +0000)]
Fix for [#21639] Playback with AV-sync and None sound system.

9 years ago"Fix" aka implementation of [#21548] Audio doesn't work when adding scenes with audio...
Joerg Mueller [Sat, 20 Mar 2010 11:15:16 +0000 (11:15 +0000)]
"Fix" aka implementation of [#21548] Audio doesn't work when adding scenes with audio to another scene.

9 years agoCocoa: fix some mem leaks appearing on 10.4 builds
Damien Plisson [Sat, 20 Mar 2010 10:14:59 +0000 (10:14 +0000)]
Cocoa: fix some mem leaks appearing on 10.4 builds

9 years agoOperator name improvements in select menu
Daniel Salazar [Sat, 20 Mar 2010 05:14:22 +0000 (05:14 +0000)]
Operator name improvements in select menu

9 years agoBGE: bindId property in VideoTexture.Texture (to get the openGL id of the texture)
Dalai Felinto [Sat, 20 Mar 2010 00:11:25 +0000 (00:11 +0000)]
BGE: bindId property in VideoTexture.Texture (to get the openGL id of the texture)

Now if you have a VideoTexture.Texture you can use its id and draw it with bgl
The Id is only going to be valid if the obj you are getting the VideoTexture.Texture from has a valid texture. In the examples you will see them as planes, that become invisible at load time, but are needed to validate the texture id.

This is a simple example file:

And a (much) more advanced one:
(get also this image and save it to the same folder of your blend file - )

Benoit, I couldn't decide on better names so for now I'm glad with this one.

9 years agoAdding Non Manifold to select menu in edit mode for vertex and/or edge
Daniel Salazar [Fri, 19 Mar 2010 06:57:55 +0000 (06:57 +0000)]
Adding Non Manifold to select menu in edit mode for vertex and/or edge
select mode

9 years agoMore F-Modifier Tweaks:
Joshua Leung [Fri, 19 Mar 2010 03:38:14 +0000 (03:38 +0000)]
More F-Modifier Tweaks:

This commit started out aiming to make the "Stepped" F-Modifier (committed last night) even more useful, but ended up fixing a few other finer-points of how F-Modifiers work.

Firstly, the new stuff:
I've addded options to the Stepped F-Modifier to not affect frames before and/or after specified values, and renamed the 'start offset' to 'offset' for clarity.

The main objective of this is to allow Stepped F-Modifiers to only affect certain time ranges, so that by layering/using multiple instances of the F-Modifier, it can be possible to have multiple stepping-sizes.

This allows for effects like:
or in words, it provides a convenient mechanism for animators to specify whether sections of the animation is shown "on twos", "fours", or even "forty-second-ths plus a smidgen", as can be easily done with 2D.

Assorted changes to support this:
* Properly fixed up how F-Modifiers that work with time, evaluate the time to evaluate the curve at. Now layered time effects like this should be possible in a much nicer way.

* Added proper value range validation/clamping to many properties. There are still a lot more that need checking, but at least more properties now do "the right thing".

9 years agoHack to make people stop bugging me.
Martin Poirier [Fri, 19 Mar 2010 03:26:31 +0000 (03:26 +0000)]
Hack to make people stop bugging me.

Working around a problem in a work around for holes in the operator API and event system.

9 years agoMissed a file - stepped F-Modifier should have its handles visible+editable to be...
Joshua Leung [Thu, 18 Mar 2010 13:05:42 +0000 (13:05 +0000)]
Missed a file - stepped F-Modifier should have its handles visible+editable to be useful

9 years agoF-Modifier Goodies (as requested by @ndy):
Joshua Leung [Thu, 18 Mar 2010 13:04:46 +0000 (13:04 +0000)]
F-Modifier Goodies (as requested by @ndy):

* Copy/Paste operators for F-Modifiers
Available in Graph and NLA Editors. Use the Copy/Paste buttons beside the 'Add Modifier' buttons.

Copy copies all the modifiers of the ACTIVE F-Curve or Strip depending on the editor.
Paste pastes modifiers from the buffer to all the selected F-Curves or Strips, adding the new modifiers to the ends of each list.

* 'Stepped Interpolation' F-Modifier
This modifier holds each interpolated value from the F-Curve for several frames without changing the timing.

This allows to preview motions 'on-twos' for example without altering the timing, or having to go through setting heaps of keyframes. In this case, Andy wanted to use this for CG <-> StopMo.

9 years agoCMake: FFMPEG directory and libraries are now configurable.
Brecht Van Lommel [Thu, 18 Mar 2010 10:16:04 +0000 (10:16 +0000)]
CMake: FFMPEG directory and libraries are now configurable.

9 years agoBugfix: Autokeying was non-functional after the Keying Sets refactor
Joshua Leung [Thu, 18 Mar 2010 07:53:46 +0000 (07:53 +0000)]
Bugfix: Autokeying was non-functional after the Keying Sets refactor

- The RNA wrapping for the generate callback was still wrong, with the primary effect being that C-code calling this had unexpected consequences that were hard to debug.
- Fixed some defective checks that meant that when specifying the RNA-pointers for the Keying Set to use (rather than using the Keying Set's own iterator callback) would never add any info.

9 years agoRemoved the 'recover temp' option from the splash screen - the way the temp saving...
Matt Ebb [Thu, 18 Mar 2010 07:05:20 +0000 (07:05 +0000)]
Removed the 'recover temp' option from the splash screen - the way the temp saving currently
works, it's mostly non-functional there (i.e. when you've just started the application).

It would be nice if blender could name the temp files in a special way so that it could actually
search through the temp folder and find the most recently saved temp file, but for now, I'll
just remove the option.

9 years agoFix [#21657] Blender crashes after importing .obj and selecting a material
Matt Ebb [Thu, 18 Mar 2010 06:03:41 +0000 (06:03 +0000)]
Fix [#21657] Blender crashes after importing .obj and selecting a material

Creating an object via some pre-existing obdata via the py api wasn't properly initialising the
object/mesh material link data.

9 years agoFix [#21568] Scene Linking
Matt Ebb [Thu, 18 Mar 2010 04:46:27 +0000 (04:46 +0000)]
Fix [#21568] Scene Linking

9 years agoFix [#20908] Box Select On File/Append Selects Too Many Files
Matt Ebb [Thu, 18 Mar 2010 04:09:59 +0000 (04:09 +0000)]
Fix [#20908] Box Select On File/Append Selects Too Many Files

9 years agoFix [#21651] After Fix # 21114 Adding mesh in local at cursor position doesn't work
Matt Ebb [Thu, 18 Mar 2010 01:26:56 +0000 (01:26 +0000)]
Fix [#21651] After Fix # 21114 Adding mesh in local at cursor position doesn't work

Silly bug from yesterday..

9 years agoBGE: blenderplayer building again.
Dalai Felinto [Thu, 18 Mar 2010 00:36:20 +0000 (00:36 +0000)]
BGE: blenderplayer building again.
*side note: Quadbuffer seems to be partially working in Blender 2.5 (it's 100% in 2.49). I'll try to take a look at that later.

9 years agoFixed a crash switching to brush texture nodes
Matt Ebb [Wed, 17 Mar 2010 22:54:55 +0000 (22:54 +0000)]
Fixed a crash switching to brush texture nodes

Also removed some python code to check for node materials within the material and texture properties. It seems to go fine without it, and this should be handled by context instead.

9 years agoSound bugfixes:
Brecht Van Lommel [Wed, 17 Mar 2010 21:38:53 +0000 (21:38 +0000)]
Sound bugfixes:
* sound file path was not displayed in sequencer panel.
* sound strip with relative paths would stop working after undo.
(commit 27575 by Brecht from render25 branch)

9 years agoFix render info text not showing up in image editor while building
Brecht Van Lommel [Wed, 17 Mar 2010 21:33:28 +0000 (21:33 +0000)]
Fix render info text not showing up in image editor while building
render database, due to threading fix.

9 years agoPyKeyingSet Bugfixes:
Joshua Leung [Wed, 17 Mar 2010 11:34:27 +0000 (11:34 +0000)]
PyKeyingSet Bugfixes:
* With multiple objects selected, only one of the objects got keyframed. The code which was checking for duplicate paths was wrongly assuming to ignore the ID-block used still.

* Not registering a Keying Set as 'builtin' would crash on startup. I've made all Keying Sets fallback to adding as if they were local for now, but a better solution is coming soon.

* Fixed a typo in RNA function wrappers for the generator callback, since it was looking for the iterator only. This doesn't seem to have caused any problems (thankfully).

9 years agoFix [#21553] Re-Projection just opening the image editor but not the image.
Matt Ebb [Wed, 17 Mar 2010 03:07:37 +0000 (03:07 +0000)]
Fix [#21553] Re-Projection just opening the image editor but not the image.

Campbell please check/beautify if you like, but it works properly on OS X, either
opening Preview with the 'open' command or Photoshop, when the path is set
in user preferences.

9 years agoFix [#21285] Assigning an Edge Rotate (clockwise) shortcut also deletes affected...
Matt Ebb [Wed, 17 Mar 2010 01:56:41 +0000 (01:56 +0000)]
Fix [#21285] Assigning an Edge Rotate (clockwise) shortcut also deletes affected faces when used

9 years agoFix [#21329] Extrude of single vertex constrained
Matt Ebb [Wed, 17 Mar 2010 00:54:34 +0000 (00:54 +0000)]
Fix [#21329] Extrude of single vertex constrained

9 years agoFix [#21114] Graphical cursor displayed in wrong position when switching to local...
Matt Ebb [Wed, 17 Mar 2010 00:05:40 +0000 (00:05 +0000)]
Fix [#21114] Graphical cursor displayed in wrong position when switching to local ortho.

9 years agoFix: Incorrect alpha values were displayed when sampling a float image in the image...
Matt Ebb [Tue, 16 Mar 2010 22:19:43 +0000 (22:19 +0000)]
Fix: Incorrect alpha values were displayed when sampling a float image in the image editor,
reported in IRC by kahr-alpha

9 years ago"Fill deformed" option for 2D curves
Sergey Sharybin [Tue, 16 Mar 2010 21:09:53 +0000 (21:09 +0000)]
"Fill deformed" option for 2D curves

Add new option named "Fill deformed". If this option is switched on.
2D curve will be first deformed by modifiers and only then be filled
with faces.

9 years agoFix [#21634] GHOST_WindowCocoa: activeWindow null pointer check
Damien Plisson [Tue, 16 Mar 2010 20:42:12 +0000 (20:42 +0000)]
Fix [#21634] GHOST_WindowCocoa: activeWindow null pointer check

9 years agoDaniel Lara pointed out that adding a Maintain Volume constraint via 3D view hotkey...
Roland Hess [Tue, 16 Mar 2010 18:34:30 +0000 (18:34 +0000)]
Daniel Lara pointed out that adding a Maintain Volume constraint via 3D view hotkey automatically added an Empty for Target. This should not have been.

9 years agono need to include the setting names in enum items
Brecht Van Lommel [Tue, 16 Mar 2010 18:22:55 +0000 (18:22 +0000)]
no need to include the setting names in enum items
(commit 27539 by Campbell from render25 branch)

9 years agooption to lock alpha while projection painting.
Brecht Van Lommel [Tue, 16 Mar 2010 18:05:53 +0000 (18:05 +0000)]
option to lock alpha while projection painting.
(commit 27538 by Campbell from render25 branch)

9 years agotransform marker sync for extend and grab is back.
Brecht Van Lommel [Tue, 16 Mar 2010 18:01:22 +0000 (18:01 +0000)]
transform marker sync for extend and grab is back.
(commit 27537 by Campbell from render25 branch)

9 years agothe string 'Environment' is too long for a pass name, was causing crashes in FSA...
Brecht Van Lommel [Tue, 16 Mar 2010 18:00:45 +0000 (18:00 +0000)]
the string 'Environment' is too long for a pass name, was causing crashes in FSA. use Env instead.
(commit 27536 by Campbell from render25 branch)

9 years agono need to set flat shading for faces manually
Brecht Van Lommel [Tue, 16 Mar 2010 17:59:39 +0000 (17:59 +0000)]
no need to set flat shading for faces manually
(commit 27534 by Campbell from render25 branch)

9 years agoadding faces was setting the wrong flag, smooth rather then selected.
Brecht Van Lommel [Tue, 16 Mar 2010 17:59:11 +0000 (17:59 +0000)]
adding faces was setting the wrong flag, smooth rather then selected.
(commit 27533 by Campbell from render25 branch)

9 years agoWkey in uv editor brings up weld/align menu rather then welding.
Brecht Van Lommel [Tue, 16 Mar 2010 17:58:44 +0000 (17:58 +0000)]
Wkey in uv editor brings up weld/align menu rather then welding.
(commit 27513 by Campbell from render25 branch)

9 years agoimplify skipping quad->tri was being done even when the main simplify option was...
Brecht Van Lommel [Tue, 16 Mar 2010 17:58:13 +0000 (17:58 +0000)]
implify skipping quad->tri was being done even when the main simplify option was disabled.
(commit 27512 by Campbell from render25 branch)

9 years agodraw option to only display what is rendered, used for sequencer, opengl drawing...
Brecht Van Lommel [Tue, 16 Mar 2010 17:49:31 +0000 (17:49 +0000)]
draw option to only display what is rendered, used for sequencer, opengl drawing by default. since we use preview renders a lot the empties & armatures can get in the way also.
(commit 27511 by Campbell from render25 branch)

9 years agomade re-project UI less confusing
Brecht Van Lommel [Tue, 16 Mar 2010 17:45:01 +0000 (17:45 +0000)]
made re-project UI less confusing
(commit 27457 by Campbell from render25 branch)

9 years agominor changes to rna names for consistancy
Brecht Van Lommel [Tue, 16 Mar 2010 17:42:58 +0000 (17:42 +0000)]
minor changes to rna names for consistancy
(commit 27445 by Campbell from render25 branch)

9 years agochange the scene opengl sequence rendering to be a global option with rendering and...
Brecht Van Lommel [Tue, 16 Mar 2010 17:37:34 +0000 (17:37 +0000)]
change the scene opengl sequence rendering to be a global option with rendering and scrubbing settings.
still need to do a do_versions for this to work right without changing settings.
(commit 27442 by Campbell from render25 branch)

9 years agoerror in recent commit.
Brecht Van Lommel [Tue, 16 Mar 2010 17:24:13 +0000 (17:24 +0000)]
error in recent commit.
(commit 27437 by Campbell from render25 branch)

9 years agolibrary data selector, respect hide dot data, unless the user enters a '.'
Brecht Van Lommel [Tue, 16 Mar 2010 17:23:51 +0000 (17:23 +0000)]
library data selector, respect hide dot data, unless the user enters a '.'
(commit 27435 by Campbell from render25 branch)

9 years ago- menu for selecting add scenes for the sequencer.
Brecht Van Lommel [Tue, 16 Mar 2010 17:23:20 +0000 (17:23 +0000)]
- menu for selecting add scenes for the sequencer.
- update internal 'btempdir' from userprefs on changing and initializing the temp dir.
- add sequence strip operators nolonger require the sequence view to be active (better for automation).
(commit 27434 by Campbell from render25 branch)

9 years agofix for nasty bug where registering properties would register them in the parent...
Brecht Van Lommel [Tue, 16 Mar 2010 17:20:15 +0000 (17:20 +0000)]
fix for nasty bug where registering properties would register them in the parent classes SRNA, made for confusing rigify args turning up in add sequencer adding collection.
(commit 27433 by Campbell from render25 branch)

9 years agomade argument conversion for much more verbose, wasnt giving enough info with bad...
Brecht Van Lommel [Tue, 16 Mar 2010 17:19:42 +0000 (17:19 +0000)]
made argument conversion for much more verbose, wasnt giving enough info with bad operator args.
(commit 27432 by Campbell from render25 branch)

9 years agoFixes for thread related render / compositing crashes:
Brecht Van Lommel [Tue, 16 Mar 2010 16:58:45 +0000 (16:58 +0000)]
Fixes for thread related render / compositing crashes:

* Viewer node could free image while it is being redrawn, viewer image
  buffers now need acquire/release to be accessed as was already the
  case for render results.
* The Composite node could free the image buffers outside of a lock,
  also causing simultaneous redraw to crash.
* Especially on Windows, re-rendering could crash when drawing an image
  that was freed. When RE_RenderInProgress was true it would access the
  image buffer and simply return it while it could still contain a pointer
  to a render result buffer that was already freed. I don't understand
  why this case was there in the first place, so I've removed it.

Possibly fixes bugs #20174, #21418, #21391, #21394.

9 years agoFix this error when building with collada:
Arystanbek Dyussenov [Tue, 16 Mar 2010 16:15:30 +0000 (16:15 +0000)]
Fix this error when building with collada:

9 years agoNew "Maintain Volume" constraint. When attached to a bone, you specify a "free" axis...
Roland Hess [Tue, 16 Mar 2010 12:55:56 +0000 (12:55 +0000)]
New "Maintain Volume" constraint. When attached to a bone, you specify a "free" axis. Upon scaling, this free axis scales normally, but the constraint forces the other two axes to adjust themselves appropriately so that overall bone volume is maintained. So, setting "Y" as the free axis (the default) creates a bone that automatically squashes and stretches when scaling. Thanks to Aligorith, Fweeb, Cessen and others for the feedback.

9 years agoKeying Set Fixes:
Joshua Leung [Tue, 16 Mar 2010 10:18:19 +0000 (10:18 +0000)]
Keying Set Fixes:
* 'Export Keying Set' operator works again - a change in the previous commit broke the created code
* Relative Keying Sets don't get their paths shown
* Keying Set paths show options for inserting keyframes too now


Another attempt at fixing compile troubles, and removed some commented out + obsolete stuff.

9 years agoFixing compiler errors for those people who compile those c++ modules... bleh!
Joshua Leung [Tue, 16 Mar 2010 08:07:43 +0000 (08:07 +0000)]
Fixing compiler errors for those people who compile those c++ modules... bleh!

9 years agoFix [#21250] Auto Refresh Movies on UV/Image editor doesn't work
Matt Ebb [Tue, 16 Mar 2010 08:06:50 +0000 (08:06 +0000)]
Fix [#21250] Auto Refresh Movies on UV/Image editor doesn't work

9 years agoFix [#21165] Moved textures don't move the animation curves
Matt Ebb [Tue, 16 Mar 2010 07:44:57 +0000 (07:44 +0000)]
Fix [#21165] Moved textures don't move the animation curves

9 years ago== Massive Keying Sets Recode ==
Joshua Leung [Tue, 16 Mar 2010 06:18:49 +0000 (06:18 +0000)]
== Massive Keying Sets Recode ==

After a few days of wrong turns and learning the finer points of RNA-type-subclassing the hard way, this commit finally presents a refactored version of the Keying Sets system (now version 2) based on some requirements from Cessen.

For a more thorough discussion of this commit, see


The main highlight of this refactor is that relative Keying Sets have now been recoded so that Python callbacks are run to generate the Keying Set's list of paths everytime the Keying Set is used (to insert or delete keyframes), allowing complex heuristics to be used to determine whether a property gets keyframed based on the current context. These checks may include checking on selection status of related entities, or transform locks.

Built-In KeyingSets have also been recoded, and moved from C and out into Python. These are now coded as Relative Keying Sets, and can to some extent serve as basis for adding new relative Keying Sets. However, these have mostly been coded in a slightly 'modular' way which may be confusing for those not so familiar with Python in general. A usable template will be added soon for more general usage.

Keyframing settings (i.e. 'visual', 'needed') can now be specified on a per-path basis now, which is especially useful for Absolute Keying Sets, where control over this is often beneficial.

Most of the places where Auto-Keyframing is performed have been tidied up for consistency. I'm sure quite a few issues still exist there, but these I'll clean up over the next few days.

9 years agoPlay Back Rendered Animation operator was left out of Screen->Render operator name...
Matt Ebb [Tue, 16 Mar 2010 05:04:56 +0000 (05:04 +0000)]
Play Back Rendered Animation operator was left out of Screen->Render operator name change

9 years agoadded different sampling methods in rotate node
Robert Holcomb [Mon, 15 Mar 2010 22:36:39 +0000 (22:36 +0000)]
added different sampling methods in rotate node
fixed bug in difference matte node that prevented using a solid color for second input
-also clairified some variable names to be more meaningful

9 years agoFix [#20419] OSX Cocoa physical punctuation keys retrieval fix
Damien Plisson [Mon, 15 Mar 2010 20:38:04 +0000 (20:38 +0000)]
Fix [#20419] OSX Cocoa physical punctuation keys retrieval fix

Cocoa charactersIgnoringModifiers API still takes the Shift key into account. Fix is to use Apple new 10.5 Carbon(!) API that is 64bit compatible to take into account the international keyboard layout when retrieving the physical key pressed/released.
Needed to use an even older API for 10.4 builds.

9 years agoFix [#21618] Wrong Icon For BLEND file on File/Append
Andrea Weikert [Mon, 15 Mar 2010 20:28:13 +0000 (20:28 +0000)]
Fix [#21618] Wrong Icon For BLEND file on File/Append

While the folder icon was originally planned when in append/link mode, it's easier to distinguish with a blender icon, so the folder icon is now replaced.

Also fixed issue introduced in rev. 27491 where filter settings were incorrectly set when moving out of .blend file again.

9 years agoFix #21619 and #21613: edge loop delete crashes, after recent transform
Brecht Van Lommel [Mon, 15 Mar 2010 20:22:05 +0000 (20:22 +0000)]
Fix #21619 and #21613: edge loop delete crashes, after recent transform
manipulator ctrl+click increment fix.

9 years agoCompile fix for MSVC
Andrea Weikert [Mon, 15 Mar 2010 18:52:22 +0000 (18:52 +0000)]
Compile fix for MSVC
- missing #define for finite and isnan

9 years agofixing bad level call
Tom Musgrove [Mon, 15 Mar 2010 15:36:16 +0000 (15:36 +0000)]
fixing bad level call

9 years agoPatch #21569 to fix bug #21530: on X11, middle mouse button drag cancelled
Brecht Van Lommel [Mon, 15 Mar 2010 10:25:07 +0000 (10:25 +0000)]
Patch #21569 to fix bug #21530: on X11, middle mouse button drag cancelled
when moving wheel (with horizontal scrolling), was sending middle mouse
event in cases where it should not. Patch by Anthony Edlin, thanks!

9 years agoFix [#21288] Colour Ramp doesn't update output
Matt Ebb [Mon, 15 Mar 2010 04:54:31 +0000 (04:54 +0000)]
Fix [#21288] Colour Ramp doesn't update output

Moved color ramp RNA to rna_color.c, was very texture-centric before.

9 years agoMake Hex field in colour picker work in gamma corrected space - means that copying...
Matt Ebb [Mon, 15 Mar 2010 02:30:53 +0000 (02:30 +0000)]
Make Hex field in colour picker work in gamma corrected space - means that copying Hex values to
and from other apps like Photoshop works as expected.

9 years agoFix [#21603] Mip-mapping setting not saved in User preferences
Matt Ebb [Mon, 15 Mar 2010 01:12:41 +0000 (01:12 +0000)]
Fix [#21603] Mip-mapping setting not saved in User preferences

9 years agoAdded curve Radius to properties panel in edit mode.
Matt Ebb [Mon, 15 Mar 2010 00:34:02 +0000 (00:34 +0000)]
Added curve Radius to properties panel in edit mode.

Related to bug [#21606] setting a Curve Radius doesn't take in account already set Values

9 years agopep8 warnings
Campbell Barton [Sun, 14 Mar 2010 23:26:17 +0000 (23:26 +0000)]
pep8 warnings

9 years agomore addon UI cleanup
Campbell Barton [Sun, 14 Mar 2010 23:19:44 +0000 (23:19 +0000)]
more addon UI cleanup

9 years ago[#21504] Projection Clone Paint broken
Campbell Barton [Sun, 14 Mar 2010 22:43:44 +0000 (22:43 +0000)]
[#21504] Projection Clone Paint broken
own error when adding re-project, broke cloning between 2 UV layers

9 years agoFix #20486: blender hangs upon import attempt of an .obj with >40k polys.
Brecht Van Lommel [Sun, 14 Mar 2010 22:30:57 +0000 (22:30 +0000)]
Fix #20486: blender hangs upon import attempt of an .obj with >40k polys.
Added automatic generation of lookup_int callbacks for collections, for
quicker lookup by index instead of looping over the whole thing. Import
is still quite slow, though now it only takes a few seconds.

The next bottleneck seems to be running update (depsgraph, notifiers, ..)
on setting every property. I fixed part of that by avoiding a notifier
to be added each time, now it checks for duplicates.

9 years agoVarious warning fixes.
Brecht Van Lommel [Sun, 14 Mar 2010 21:25:01 +0000 (21:25 +0000)]
Various warning fixes.

9 years agosoft bodies kind of bug fixing:
Jens Ole Wund [Sun, 14 Mar 2010 21:15:22 +0000 (21:15 +0000)]
soft bodies kind of bug fixing:
After watching 2.5 from a distance,
i did review the soft body module
to match in 2.5 every thing can be animated rule.
Until now i did not realize, that, by default, every property
is 'fcurve'-able unless told to be not.
I really like it that way.
However SB code did assume some things not to be
changing after birth of the SB object.
After spending some hours with softbody.c
/* as may be read in its history */
I think most of the SB properties are ready to go.
For those that do not, some of them never will,
i did reset the flag in the RNA definitions.

There is one not completely resolved:
bending stiffness
which will work if the initial value was non zero,
because only in this case the secondary set of springs
needed is built at all.

Duh, and there a zillions of cases to test ..
please do so.

9 years agodisallow 'nan' for button input and pydriver's
Campbell Barton [Sun, 14 Mar 2010 21:04:02 +0000 (21:04 +0000)]
disallow 'nan' for button input and pydriver's

9 years agoRendering from 3d view in local view or with unlocked layer was not
Brecht Van Lommel [Sun, 14 Mar 2010 20:24:11 +0000 (20:24 +0000)]
Rendering from 3d view in local view or with unlocked layer was not
working yet, now layer is passed along to render engine, changes quite
a few files because simple swapping trick no longer works with threading.

9 years agoFix crash reading files with animated particle properties.
Brecht Van Lommel [Sun, 14 Mar 2010 20:18:15 +0000 (20:18 +0000)]
Fix crash reading files with animated particle properties.

9 years agocleanup for addon python internals, fix filtering bug.
Campbell Barton [Sun, 14 Mar 2010 20:07:15 +0000 (20:07 +0000)]
cleanup for addon python internals, fix filtering bug.

9 years agotransform: Ctrl-Click on manipulators uses increments correctly.
Martin Poirier [Sun, 14 Mar 2010 19:38:36 +0000 (19:38 +0000)]
transform: Ctrl-Click on manipulators uses increments correctly.

9 years ago[#21523] Drag Immediately only working when "Select With" is set to LMB
Martin Poirier [Sun, 14 Mar 2010 18:58:14 +0000 (18:58 +0000)]
[#21523] Drag Immediately only working when "Select With" is set to LMB

Partial fix. Check lauch event if left or right mouse.

Also added a bug fix for manipulator (sometimes, type = 0)

9 years agoRemove SAT texture filter. It's not working, thought it was but that's
Brecht Van Lommel [Sun, 14 Mar 2010 18:22:04 +0000 (18:22 +0000)]
Remove SAT texture filter. It's not working, thought it was but that's
because the mipmap was not being refreshed. Also this will be problematic
to support when I add tile/mipmap cache, so would not rather not try to.
Can be added back afterwards if someone wants to make it work.

9 years agouser preference to disable the splash screen
Campbell Barton [Sun, 14 Mar 2010 18:08:12 +0000 (18:08 +0000)]
user preference to disable the splash screen

9 years agofix for bugreport:
Andrea Weikert [Sun, 14 Mar 2010 18:02:18 +0000 (18:02 +0000)]
fix for bugreport:
#21506 'sort by' while in append/link file browser causes files to disappear

- issue was that the objects were still filtered
- temporary fix until refactoring of the append/link integration

9 years agoattempt to fix build error on msvc
Campbell Barton [Sun, 14 Mar 2010 17:54:08 +0000 (17:54 +0000)]
attempt to fix build error on msvc

9 years agoAddons:
Thomas Dinges [Sun, 14 Mar 2010 17:32:35 +0000 (17:32 +0000)]
Some code changes:

* Every Add-On now needs a dictionary with several infos, which are then displayed in the Blender UI and/or are used internally.

bl_addon_info = {'name': 'Measure panel',
                'author': 'Buerbaum Martin (Pontiac)',
                'version': '0.6.3',
                'blender': '2.5.2',
                'location': 'View3D > Properties > Measure',
                'url': '',
                'category' : 'UI'}

Unfinished/Not working yet
* The 'blender' tag is compared with the internal version number, it raises an error if the add-on was written for a newer Blender version.
* The 'category' tag will be added to the filter, so the add-ons can be searched/filtered.

9 years agostrip quites off buildinfo at startup (was doing this for splash screen and python...
Campbell Barton [Sun, 14 Mar 2010 17:18:36 +0000 (17:18 +0000)]
strip quites off buildinfo at startup (was doing this for splash screen and python api)

9 years ago== Sequencer ==
Peter Schlaile [Sun, 14 Mar 2010 16:36:41 +0000 (16:36 +0000)]
== Sequencer ==

This fixes [#21087] Opacity of 0 turns off effect rather than affecting transparency
and makes the whole early_out-business in strip stack a lot more readable.

The actual fix is just using the composited result in layer fall through
case (se1->ibuf_comp instead of se1->ibuf).

9 years agoremove unused includes
Campbell Barton [Sun, 14 Mar 2010 16:27:07 +0000 (16:27 +0000)]
remove unused includes

9 years agoremove unused includes
Campbell Barton [Sun, 14 Mar 2010 16:06:43 +0000 (16:06 +0000)]
remove unused includes

9 years agoFix #21171: ztransp render aliasing problem.
Brecht Van Lommel [Sun, 14 Mar 2010 14:26:46 +0000 (14:26 +0000)]
Fix #21171: ztransp render aliasing problem.