11 years ago=== Windows Installer ===
Nathan Letwory [Wed, 7 Jul 2010 12:46:39 +0000 (12:46 +0000)]
=== Windows Installer ===
* have nice image also in uninstaller
* ensure we can remove start menu links

11 years agofix mingw compile
Andrea Weikert [Tue, 6 Jul 2010 20:31:55 +0000 (20:31 +0000)]
fix mingw compile
- seems to have been conflicting #defines for INT, solved by moving #include up

11 years agoFixed bug [#22757] : hide dock and menu on OSX only when Blender window is maximized...
Damien Plisson [Tue, 6 Jul 2010 19:59:37 +0000 (19:59 +0000)]
Fixed bug [#22757] : hide dock and menu on OSX only when Blender window is maximized to fullscreen on the primary monitor

11 years agoFile/installation paths: fix path of startup.blend for OSX
Damien Plisson [Tue, 6 Jul 2010 19:42:06 +0000 (19:42 +0000)]
File/installation paths: fix path of startup.blend for OSX

Also fix the header file no reinclusion macro name

Thanks to Jens Verwiebe for the patch

11 years agoBring back "Sort Faces" command.
Diego Borghetti [Tue, 6 Jul 2010 19:26:38 +0000 (19:26 +0000)]
Bring back "Sort Faces" command.

This was the old Ctrl + FKEY in object mode, now it's in
edit mode and is part of the Ctrl + FKEY menu (Faces).

I also assing this to the Ctrl + Alt + FKEY, but Matt please
check this and feel free to change (or tell me and I will change).

Still there is no "reverse" function, but I commit now to finish
in my home.

11 years agoselected_sequences wasnt working right, added 'sequences' property to the context
Campbell Barton [Tue, 6 Jul 2010 18:07:10 +0000 (18:07 +0000)]
selected_sequences wasnt working right, added 'sequences' property to the context

11 years agometaball outlines were drawing with Render Override enabled.
Campbell Barton [Tue, 6 Jul 2010 17:10:02 +0000 (17:10 +0000)]
metaball outlines were drawing with Render Override enabled.

11 years agocolor balance can now be animated in the sequencer.
Campbell Barton [Tue, 6 Jul 2010 16:44:05 +0000 (16:44 +0000)]
color balance can now be animated in the sequencer.

11 years agouse normal mouse speed for the color wheel unless shift is pressed.
Campbell Barton [Tue, 6 Jul 2010 16:40:56 +0000 (16:40 +0000)]
use normal mouse speed for the color wheel unless shift is pressed.

11 years ago=== Windows Installer ===
Nathan Letwory [Tue, 6 Jul 2010 16:39:40 +0000 (16:39 +0000)]
=== Windows Installer ===

Make sure for win64 version of Blender that we set default install dir to $PROGRAMFILES64
and keep win32 version to $PROGRAMFILES32.

Reported on by Robroy

11 years agocomplain if running with py2
Campbell Barton [Tue, 6 Jul 2010 14:30:31 +0000 (14:30 +0000)]
complain if running with py2

11 years ago== rna cleanup ==
Luca Bonavita [Tue, 6 Jul 2010 13:56:50 +0000 (13:56 +0000)]
== rna cleanup ==

small fixes adnm tentative new keywords
those discussed by campbell and brecht are still there, but commented
with these keywords I'm happy how booleans went, committing to discuss with cambpell

11 years agofix for crash on active camera poll (from own recent commit)
Campbell Barton [Tue, 6 Jul 2010 11:50:59 +0000 (11:50 +0000)]
fix for crash on active camera poll (from own recent commit)

11 years agoRevert revision 29735:
Brecht Van Lommel [Tue, 6 Jul 2010 11:44:45 +0000 (11:44 +0000)]
Revert revision 29735:

Fix #22051: crash when scaling parent metaball. Keep the constant resolution
for any motherball's scale.

This avoids running out of memory when scaling the metaball down, but there's
a reason it depends on this scaling, for example for instancing it's more
useful to have this. It also doesn't really solve the problem but only moves it,
it's still possible to run out of memory with different setups/scales.

11 years agolibrary tooltip for outliner icons
Campbell Barton [Tue, 6 Jul 2010 11:14:35 +0000 (11:14 +0000)]
library tooltip for outliner icons

11 years agoCorrection to recent color balance compositor and sequencer changes.
Campbell Barton [Tue, 6 Jul 2010 10:21:28 +0000 (10:21 +0000)]
Correction to recent color balance compositor and sequencer changes.
- In my changes lift was acting like a second gamma.
- In blender 2.4x it was being added which gave ugly clipping.
- in Magic Bullet Looks it scales the color about 1.0: (col - 1 * (2-lift)) + 1

Did more testing and made sure the order of applying lift/gamma/gain works the same as MagicBulletLooks (tested on Collin's mac laptop).

11 years ago=== Windows Installer ===
Nathan Letwory [Tue, 6 Jul 2010 09:19:52 +0000 (09:19 +0000)]
=== Windows Installer ===
* add info about bitness: 32bit, 64bit or mingw-build

11 years agoWaste less memory ;)
Nathan Letwory [Tue, 6 Jul 2010 09:15:33 +0000 (09:15 +0000)]
Waste less memory ;)

11 years ago=== Windows Installer ===
Nathan Letwory [Tue, 6 Jul 2010 09:13:10 +0000 (09:13 +0000)]
=== Windows Installer ===
* Proper deletion of install dir - everything under it will be gone
* Ask if config/userdata can be removed and act accordingly. If selected, everything under user/config dir (BLENDERHOME) will be gone.
* The installer now will automatically update vc runtime

To be able to properly create an installer, you need:
- NSIS, and the MoreInfo plugin for NSIS. Make sure NSIS is in your path
- Set in your BF_VCREDIST full path to the redist you have.

Note: this works only with SCons.

11 years agogive an actually existing buffer instead of potential NULL
Nathan Letwory [Tue, 6 Jul 2010 06:43:21 +0000 (06:43 +0000)]
give an actually existing buffer instead of potential NULL

11 years agocommitted one file too many
Nathan Letwory [Tue, 6 Jul 2010 05:24:18 +0000 (05:24 +0000)]
committed one file too many

11 years agopedantic pep8 warnings, mostly white space.
Campbell Barton [Mon, 5 Jul 2010 22:22:22 +0000 (22:22 +0000)]
pedantic pep8 warnings, mostly white space.

11 years agochange the range for sequencer lift/gamma/gain to be 2.0 max
Campbell Barton [Mon, 5 Jul 2010 21:43:46 +0000 (21:43 +0000)]
change the range for sequencer lift/gamma/gain to be 2.0 max

11 years agoFile/installation paths: osx (cocoa & carbon) update in ghost
Damien Plisson [Mon, 5 Jul 2010 19:59:37 +0000 (19:59 +0000)]
File/installation paths: osx (cocoa & carbon) update in ghost

11 years ago* use blender_decimal_version() in places where '.blender/' was still being used
Nathan Letwory [Mon, 5 Jul 2010 19:59:27 +0000 (19:59 +0000)]
* use blender_decimal_version() in places where '.blender/' was still being used
* simplify the NSIS file creation (and add those files back).

NOTE: The installer is still pretty much WIP, tomorrow more improvements.

11 years agoFix #21201: double click didn't use the original mouse position, now
Brecht Van Lommel [Mon, 5 Jul 2010 16:42:42 +0000 (16:42 +0000)]
Fix #21201: double click didn't use the original mouse position, now
it stores it and sets it later when the double click event is handled.

Decided to not reuse prevx but made prevclickx, because there may be
multiple mousemoves between the two clicks, and prevx is already used
for some other tricky things.

11 years agoFix #21917: add object operator has 30 layers, now the layer property
Brecht Van Lommel [Mon, 5 Jul 2010 16:20:52 +0000 (16:20 +0000)]
Fix #21917: add object operator has 30 layers, now the layer property
has just 20 and the local view layers are added afterwards.

11 years agooption for color wheel widget to make it easier to select values closer to white...
Campbell Barton [Mon, 5 Jul 2010 15:52:25 +0000 (15:52 +0000)]
option for color wheel widget to make it easier to select values closer to white, enable for color balance.

11 years agorecent commit broke invert option for sequencer lift.
Campbell Barton [Mon, 5 Jul 2010 14:53:11 +0000 (14:53 +0000)]
recent commit broke invert option for sequencer lift.

11 years agoFix Makefile for new getUserDir system.
Diego Borghetti [Mon, 5 Jul 2010 14:32:15 +0000 (14:32 +0000)]
Fix Makefile for new getUserDir system.

11 years agoColor Balance Node
Campbell Barton [Mon, 5 Jul 2010 14:29:16 +0000 (14:29 +0000)]
Color Balance Node
changes from sequencer applied to compositor mostly noticable is how the lift works.

Before & After,

even with lower values these kinds of errors can be seen.

11 years agoFix #21992: linked objects could be in edit/particle/paint/sculpt mode,
Brecht Van Lommel [Mon, 5 Jul 2010 13:14:14 +0000 (13:14 +0000)]
Fix #21992: linked objects could be in edit/particle/paint/sculpt mode,
not allowed, so disable mode on append and don't enable it on load.

11 years agoFix #22694: rendering exits editmode. Problem was due to incorrect fix for
Brecht Van Lommel [Mon, 5 Jul 2010 12:52:47 +0000 (12:52 +0000)]
Fix #22694: rendering exits editmode. Problem was due to incorrect fix for
bug #20091 in revision 24989, crash when rendering in metaball editmode.

11 years agoFix #22213: applying deform modifier in front of multires modifier crashes,
Brecht Van Lommel [Mon, 5 Jul 2010 12:20:49 +0000 (12:20 +0000)]
Fix #22213: applying deform modifier in front of multires modifier crashes,
should not do multires reshape in this case, but just regular apply.

11 years agoFix #22666: linked data lights lag during transform in GLSL mode.
Brecht Van Lommel [Mon, 5 Jul 2010 11:52:54 +0000 (11:52 +0000)]
Fix #22666: linked data lights lag during transform in GLSL mode.

Actually a depsgraph issue, transforming objects was incorrectly
tagging their data for recalculation.

11 years agoFix #20383: mesh deform modifier wasn't working on lattices.
Brecht Van Lommel [Mon, 5 Jul 2010 11:48:13 +0000 (11:48 +0000)]
Fix #20383: mesh deform modifier wasn't working on lattices.

11 years agoanother fix for osx scons
Nathan Letwory [Mon, 5 Jul 2010 10:32:14 +0000 (10:32 +0000)]
another fix for osx scons

11 years agotexture saturation option.
Campbell Barton [Mon, 5 Jul 2010 10:18:59 +0000 (10:18 +0000)]
texture saturation option.
we'll need a do-version bump soon or this will convert 0.0 saturation to 1.0 on load.

11 years agowhen making a metastrip use active strip for the channel when available.
Campbell Barton [Mon, 5 Jul 2010 10:12:24 +0000 (10:12 +0000)]
when making a metastrip use active strip for the channel when available.

11 years agoColor Balance
Campbell Barton [Mon, 5 Jul 2010 09:56:06 +0000 (09:56 +0000)]
Color Balance
- color_balance_float_float wasnt using the new calculation method
- moved calculation into an inline function color_balance_fl() & made the lift adjustments less confusing.

11 years agoBrainfart cleanup.
Nathan Letwory [Mon, 5 Jul 2010 09:33:17 +0000 (09:33 +0000)]
Brainfart cleanup.

11 years agoFix #22189: fields rendering crashes.
Brecht Van Lommel [Mon, 5 Jul 2010 09:31:24 +0000 (09:31 +0000)]
Fix #22189: fields rendering crashes.

11 years agochanges to color wheel commit.
Campbell Barton [Mon, 5 Jul 2010 07:08:10 +0000 (07:08 +0000)]
changes to color wheel commit.
- use a flag rather then a2 for locking color.
- remove float from button added for color wheel size, use a2 instead.
- holding shift on the color wheel gives higher precission.

11 years ago== SCons ==
Nathan Letwory [Mon, 5 Jul 2010 07:06:19 +0000 (07:06 +0000)]
== SCons ==

Updated to comply with datafiles filepath patch.

I've tried to do some changes for OSX too, but I'm not sure if they're correct,
so OSX people, please test and report.

11 years agoFixed case of letters in CHECKCXXSOURCECOMPILES in cmake macro TEST_SSE_SUPPORT
Sergey Sharybin [Mon, 5 Jul 2010 06:32:29 +0000 (06:32 +0000)]
Fixed case of letters in CHECKCXXSOURCECOMPILES in cmake macro TEST_SSE_SUPPORT
Should be CheckCXXSourceCompiles to work fine in linux

11 years agocompile fix, another missed semicolon - blush
Andrea Weikert [Mon, 5 Jul 2010 06:04:24 +0000 (06:04 +0000)]
compile fix, another missed semicolon - blush

11 years agoBugfix #22030: Animation Editors and Layer Animation
Joshua Leung [Mon, 5 Jul 2010 04:37:30 +0000 (04:37 +0000)]
Bugfix #22030: Animation Editors and Layer Animation

Added new filtering option for animation editors (indicated as the 'ghost' toggle beside the 'select'(-ed only) toggle), which will include objects/bones that aren't visible (i.e. are hidden or on a hidden layer).

This should make it possible to edit such types of animation, and also prevent flickering as these channels come in/out of view.

11 years agoBugfix #22685: Screen update slow, animation player ALT-A, files created with 2.4x
Joshua Leung [Mon, 5 Jul 2010 03:55:28 +0000 (03:55 +0000)]
Bugfix #22685: Screen update slow, animation player ALT-A, files created with 2.4x

Modifiers were being mistakenly recalculated at every frame as long as the object had animation, slowing things down due to incorrect depsgraph recalc tags.

Renamed OB_RECALC -> OB_RECALC_ALL to reduce future confusion. During this process, I noticed a few dubious usages of OB_RECALC, so it's best to use this commit as a guide of places to check on. Apart from the place responsible for this bug, I haven't changed any OB_RECALC -> OB_RECALC_OB/DATA in case that introduces more unforseen bugs now, making it more difficult to track the problems later (rename + value change can be confusing to identify the genuine typos).

11 years ago#22736: request - adjust windows' corner handles
Joshua Leung [Mon, 5 Jul 2010 03:02:57 +0000 (03:02 +0000)]
#22736: request - adjust windows' corner handles

I've tweaked the contrast of the corner widgets to be a little bit more contrasty and seem a bit more tactile by making the lines fade out from brighter bands to dimmer bands.

Hopefully this will make them more easily discernable without being too loud.

11 years agoBugfix #22584: Long Keyframes not working
Joshua Leung [Mon, 5 Jul 2010 02:00:24 +0000 (02:00 +0000)]
Bugfix #22584: Long Keyframes not working

This was broken by a bad (unfinished/unused) case, which stopped them from being created properly in most cases.

11 years agoBugfix #19221: Layer animation not working
Joshua Leung [Mon, 5 Jul 2010 01:11:25 +0000 (01:11 +0000)]
Bugfix #19221: Layer animation not working

Now object layers and scene-base layers are now always synced. In 2.4x, they were only synced if there was animation for layers, but it's probably not worth checking for this these days...

Finally we can close this bug report :)

11 years agoCompile fix for r29954. He probably missed a file in the commit.
Joshua Leung [Mon, 5 Jul 2010 00:48:57 +0000 (00:48 +0000)]
Compile fix for r29954. He probably missed a file in the commit.

11 years agobugfix [#22724] "Scene" switch on the console doesn't work
Campbell Barton [Mon, 5 Jul 2010 00:00:40 +0000 (00:00 +0000)]
bugfix [#22724] "Scene" switch on the console doesn't work

11 years agobetter errors for failier to read blends
Campbell Barton [Sun, 4 Jul 2010 23:26:55 +0000 (23:26 +0000)]
better errors for failier to read blends

11 years agofix for building with cmake
Campbell Barton [Sun, 4 Jul 2010 22:43:51 +0000 (22:43 +0000)]
fix for building with cmake

11 years agofix for building
Campbell Barton [Sun, 4 Jul 2010 22:35:09 +0000 (22:35 +0000)]
fix for building

11 years agoAdd missing ";".
Guillermo S. Romero [Sun, 4 Jul 2010 21:36:48 +0000 (21:36 +0000)]
Add missing ";".

11 years agoSVN maintenance.
Guillermo S. Romero [Sun, 4 Jul 2010 21:33:01 +0000 (21:33 +0000)]
SVN maintenance.

11 years agoPatch [#22339] File/installation paths changes
Andrea Weikert [Sun, 4 Jul 2010 21:14:59 +0000 (21:14 +0000)]
Patch [#22339] File/installation paths changes

Update after discussions on IRC:
* operating system specific path retrieval is moved back to GHOST, nothing blender specific here though
* cleaned up path functions a bit to remove #ifdefs
* removed Cocoa from blenlib again

* Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment
* finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime
* It would probably be nice to define GHOST_getTempDir as well and move those out
* more cleanups...

Things are likely broken for macs

11 years agoImprovements to Blenders color balance (lift/gamma/gain).
Campbell Barton [Sun, 4 Jul 2010 20:59:10 +0000 (20:59 +0000)]
Improvements to Blenders color balance (lift/gamma/gain).
Fairly closely match some mac application colin has called 'Looks', to give better results.
- lift is now applied non linear (was being added to the color)
- change the color wheel to preserve the luminance of the gamma and gain values, this stops the color from being set too dark (option for the color wheel template).
- sub-pixel precission for the color wheel since the white area at the center can make a lot of difference with a very small change.

This change will make existing node and sequencer setups lift render slighly differently however discussed this with Ton and he's ok with it.

11 years agoFix #21062 and #22175: crash with node previews being calculated while
Brecht Van Lommel [Sun, 4 Jul 2010 19:58:52 +0000 (19:58 +0000)]
Fix #21062 and #22175: crash with node previews being calculated while
editing nodes. Now preview jobs are killed before making any node edits.

11 years agoDetect SSE building support with cmake, and moved setting the defines
Brecht Van Lommel [Sun, 4 Jul 2010 18:40:59 +0000 (18:40 +0000)]
Detect SSE building support with cmake, and moved setting the defines
out of the render mode cmake file into the main one. Should fix PPC
compile, and hopefully not break others.

11 years agoFix #22432: unrenderable objects cast shadow in GLSL. Committing
Brecht Van Lommel [Sun, 4 Jul 2010 17:22:24 +0000 (17:22 +0000)]
Fix #22432: unrenderable objects cast shadow in GLSL. Committing
patch by Matt, I only reviewed it.

11 years agofix for 2 bugs in own recent commits,
Campbell Barton [Sun, 4 Jul 2010 17:14:06 +0000 (17:14 +0000)]
fix for 2 bugs in own recent commits,
- 29881 broke BLI_stringdec in some cases.
- poll function for view home crashed view menu because the rv3d isnt available (still needs fixing).

11 years agofairly sure this is a typo, matt/elubie please check
Campbell Barton [Sun, 4 Jul 2010 16:47:58 +0000 (16:47 +0000)]
fairly sure this is a typo, matt/elubie please check

11 years agoSVN maintenance.
Guillermo S. Romero [Sun, 4 Jul 2010 16:47:35 +0000 (16:47 +0000)]
SVN maintenance.

11 years agoFix for paths commit from Andrea:
Ton Roosendaal [Sun, 4 Jul 2010 16:34:24 +0000 (16:34 +0000)]
Fix for paths commit from Andrea:

For Mac, there was no code supporting Carbon. Added a stubs function
to make it compile, but it doesn't work yet properly.

11 years agoFix cmake/OSX build after path changes.
Brecht Van Lommel [Sun, 4 Jul 2010 16:20:42 +0000 (16:20 +0000)]
Fix cmake/OSX build after path changes.

11 years agoremove unused var warnings in linux
Campbell Barton [Sun, 4 Jul 2010 15:52:32 +0000 (15:52 +0000)]
remove unused var warnings in linux

11 years agoPatch [#22339] File/installation paths changes
Andrea Weikert [Sun, 4 Jul 2010 15:35:23 +0000 (15:35 +0000)]
Patch [#22339] File/installation paths changes

Patch Tracker:

This patch implements the proposal outlined here:

Original patch by Matt Ebb.
Contributions by Nathan Letwory, Damien Plisson and Andrea Weikert

This is a work in progress commit, some work still needs to be done on the SCons and CMake files for this to work properly, but at least should compile and the files should be created in the right directory.

Commit discussed on IRC with Ton and Campbell.

11 years agoFix #22028: rendering from 3d view was OR-ing with scene render layers,
Brecht Van Lommel [Sun, 4 Jul 2010 12:26:46 +0000 (12:26 +0000)]
Fix #22028: rendering from 3d view was OR-ing with scene render layers,
this isn't helpful, so just use 3d view layers.

11 years agoFix #21894: backface selection wasn't working correct with < 24 bits colors,
Brecht Van Lommel [Sun, 4 Jul 2010 12:24:19 +0000 (12:24 +0000)]
Fix #21894: backface selection wasn't working correct with < 24 bits colors,
e.g. thousands of colors on OS X, due to use of uninitialized value. Problem
tracked down and patch provided by Shane Ambler, thanks!

11 years agoFix for 15-day-old bug causing crashes when loading old 2.49 files, especially those...
Joshua Leung [Sun, 4 Jul 2010 12:16:01 +0000 (12:16 +0000)]
Fix for 15-day-old bug causing crashes when loading old 2.49 files, especially those with animation.

Reverting 29563 ("* Moved do_versions_ipos_to_animato from blender.c to readfile.c, where it should be.") part to the original version that (so far) is guaranteed to work fine.

While this means that "nice software design" isn't obeyed once again, this works and the other approach doesn't. So far there really isn't anything really obviously different between the approaches, even after trying a few different placements of the version patches within the file-reading internals.

11 years agocommenting group timeoffset since it causes groups objects to recalculate modifiers...
Campbell Barton [Sun, 4 Jul 2010 11:56:31 +0000 (11:56 +0000)]
commenting group timeoffset since it causes groups objects to recalculate modifiers etc. constantly even when animation isnt playing.

11 years agolast fix still could give corrupt sound, rather then updating the sound info just...
Campbell Barton [Sun, 4 Jul 2010 10:51:10 +0000 (10:51 +0000)]
last fix still could give corrupt sound, rather then updating the sound info just add and remove the sound handle.

11 years agoswap strip data wasnt updating sounds
Campbell Barton [Sun, 4 Jul 2010 10:22:31 +0000 (10:22 +0000)]
swap strip data wasnt updating sounds

11 years agoconvenience functionality for browse button (requested by Colin for the sequence...
Campbell Barton [Sun, 4 Jul 2010 10:02:30 +0000 (10:02 +0000)]
convenience functionality for browse button (requested by Colin for the sequence editor, useful for managing files for the final edit)
- Holding Alt while clocking on the browse button opens a file browser with the containing dir.
- Holding Shift opens the file its self in the default application.

obscure but at least theres a tooltip so its not totally hidden.

11 years agoFix for [#22714] Constraints stack : move up and move down buttons problem
Thomas Dinges [Sun, 4 Jul 2010 09:42:00 +0000 (09:42 +0000)]
Fix for [#22714] Constraints stack : move up and move down buttons problem
* Constraint template now uses 2 rows as well, when the area width is small.
* UI Code could use some code/layout cleanup still, will look into that soon.

11 years ago'Copy To Selected' (right click menu item) now works for sequence strips, useful...
Campbell Barton [Sun, 4 Jul 2010 09:13:00 +0000 (09:13 +0000)]
'Copy To Selected' (right click menu item) now works for sequence strips, useful for copying blend modes & opacity

11 years agosequencer
Campbell Barton [Sun, 4 Jul 2010 08:49:54 +0000 (08:49 +0000)]
- effects strips now add directly above the strips they operate on (almost always what you want)
- blend mode for new image/movie/scene/color strips is now cross: without this adjusting alpha will fade to black rather then the strip below.
- SEQ_HAS_PATH macro didnt include sound-ram or sound-hd
- meta drawing code has misleading variable names (from own commit).

11 years ago- draw sequence strips within metastrips using their real start/end and channel posit...
Campbell Barton [Sun, 4 Jul 2010 01:56:04 +0000 (01:56 +0000)]
- draw sequence strips within metastrips using their real start/end and channel positions.
- dont show color balance unless its enabled.

11 years agosequencer re-assign inputs back
Campbell Barton [Sat, 3 Jul 2010 22:25:22 +0000 (22:25 +0000)]
sequencer re-assign inputs back

11 years ago== Sequencer ==
Peter Schlaile [Sat, 3 Jul 2010 21:13:08 +0000 (21:13 +0000)]
== Sequencer ==

This fixes:
[#22722] Removing a sequence strip doesnt remove assosiated fcurves

by using the same hack that is used for moving curve-data along with the
strips on grab.

Should be cleaned up (both functions!) by making sequencer-strips
finally true IDs.

Until that happens, there is only an more or less ugly way of doing

11 years agohome key to center the camera offset.
Campbell Barton [Sat, 3 Jul 2010 20:47:03 +0000 (20:47 +0000)]
home key to center the camera offset.

11 years agodisable ref-counting for groups. groups work differently where they are only removed...
Campbell Barton [Sat, 3 Jul 2010 19:06:49 +0000 (19:06 +0000)]
disable ref-counting for groups. groups work differently where they are only removed on load if they include no objects.
this was causing groups to be removed by rna if a group's field was cleared and the file was saved (even when it was used elsewhere).

11 years agobetter reporting for file i/o failier, use system error message in more places: Permi...
Campbell Barton [Sat, 3 Jul 2010 17:47:06 +0000 (17:47 +0000)]
better reporting for file i/o failier, use system error message in more places: Permission Denied, No space left, File not found etc.
- blend load/save uses os message.
- image load gives os message. (remove check for slash at end of line, just let the os report an error)
- python api load image/font/text raise errors with message (was just retuning None for image and font)
- minor edits to py api errors.

11 years agorna api:
Campbell Barton [Sat, 3 Jul 2010 17:39:29 +0000 (17:39 +0000)]
rna api:
rename object.matrix --> matrix_world
added object.matrix_local (parent relative matrix)

11 years agoFix for layer restoring with duplis, could be wrong sometimes
Brecht Van Lommel [Sat, 3 Jul 2010 17:19:44 +0000 (17:19 +0000)]
Fix for layer restoring with duplis, could be wrong sometimes
when there with multiple instances and recursion.

11 years agocmake: disable openexr if its not found (rather then throwing an error)
Campbell Barton [Sat, 3 Jul 2010 15:03:13 +0000 (15:03 +0000)]
cmake: disable openexr if its not found (rather then throwing an error)

11 years agoWM_operator_props_popup was calling ED_undo_push_op() which is also called by wm_oper...
Campbell Barton [Sat, 3 Jul 2010 12:55:03 +0000 (12:55 +0000)]
WM_operator_props_popup was calling ED_undo_push_op() which is also called by wm_operator_finished.
This made new image operator and seperate image sequence call ED_undo_push_op() twice.
Tested with move to layer and python select pattern operators and it works ok.

including backtraces for the double calls just incase.

# first
#2  0x00000000009ff4c4 in ED_undo_push_op (C=0x20e1098, op=0x3ea13a8) at /media/data/blender_ideasman42/blender_trunk/source/blender/editors/util/undo.c:187
#3  0x00000000008b5fa1 in WM_operator_props_popup (C=0x20e1098, op=0x3ea13a8, event=0x3ea0d28) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_operators.c:1032
#4  0x00000000008be6be in wm_operator_invoke (C=0x20e1098, ot=0x2408bd8, event=0x3ea0d28, properties=0x3e943d8, reports=0x0) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:613
#5  0x00000000008bfa44 in wm_handler_operator_call (C=0x20e1098, handlers=0x25509a0, handler=0x25cb658, event=0x3ea0d28, properties=0x3e943d8) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:1158

# second
#2  0x00000000009ff4c4 in ED_undo_push_op (C=0x20e1098, op=0x3ea13a8) at /media/data/blender_ideasman42/blender_trunk/source/blender/editors/util/undo.c:187
#3  0x00000000008bde8e in wm_operator_finished (C=0x20e1098, op=0x3ea13a8, repeat=0) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:439
#4  0x00000000008be82a in wm_operator_invoke (C=0x20e1098, ot=0x2408bd8, event=0x3ea0d28, properties=0x3e943d8, reports=0x0) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:640
#5  0x00000000008bfa44 in wm_handler_operator_call (C=0x20e1098, handlers=0x25509a0, handler=0x25cb658, event=0x3ea0d28, properties=0x3e943d8) at /media/data/blender_ideasman42/blender_trunk/source/blender/windowmanager/intern/wm_event_system.c:1158

11 years agoOSX scons : disable build with lcms by default until scons scripts are updated to...
Damien Plisson [Sat, 3 Jul 2010 12:11:05 +0000 (12:11 +0000)]
OSX scons : disable build with lcms by default until scons scripts are updated to take into account lcms include and lib paths different from /usr

I've released this scons scripts update as patch #22723, for it to be checked for no adverse effects on other platforms.

11 years agoOSX: CMake and scons default settings updated to allow build with LCMS lib
Damien Plisson [Sat, 3 Jul 2010 10:01:41 +0000 (10:01 +0000)]
OSX: CMake and scons default settings updated to allow build with LCMS lib

11 years agorender override was still showing game physics bounds
Campbell Barton [Fri, 2 Jul 2010 20:46:29 +0000 (20:46 +0000)]
render override was still showing game physics bounds

11 years ago- changes to the sequencer so new strips use the data name.
Campbell Barton [Fri, 2 Jul 2010 20:09:42 +0000 (20:09 +0000)]
- changes to the sequencer so new strips use the data name.
- removed the name option for the sequence operators.

11 years agochanges to file selector so 'directory' property from an operator is used when available.
Campbell Barton [Fri, 2 Jul 2010 17:44:57 +0000 (17:44 +0000)]
changes to file selector so 'directory' property from an operator is used when available.
also made some other changes to the path functions used.

11 years agoFix #22690: gestures were not working correct after inbetween mousemove
Brecht Van Lommel [Fri, 2 Jul 2010 11:26:12 +0000 (11:26 +0000)]
Fix #22690: gestures were not working correct after inbetween mousemove
changes, also forgot to update armature sketching operator.

11 years agorevert previous auto-naming change for meta elements,
Matt Ebb [Fri, 2 Jul 2010 03:11:10 +0000 (03:11 +0000)]
revert previous auto-naming change for meta elements,
broke the name-based grouping.

11 years agoFix new zoom in/out values for nodes in old files.
Diego Borghetti [Thu, 1 Jul 2010 19:29:27 +0000 (19:29 +0000)]
Fix new zoom in/out values for nodes in old files.

The problem was a missing update to the ARegion and the
first space, that is why old file don't get the
new zoom in/out values.

11 years agoadding image strips wasnt working, use the 'directory' component of the file selector...
Campbell Barton [Thu, 1 Jul 2010 19:28:45 +0000 (19:28 +0000)]
adding image strips wasnt working, use the 'directory' component of the file selector rather then the full 'filepath' to fix this.
added flags for filename/filepath/directory args to WM_operator_properties_filesel().

11 years agoFix for crash with PBVH in background mode, patch by Campbell.
Brecht Van Lommel [Thu, 1 Jul 2010 15:12:10 +0000 (15:12 +0000)]
Fix for crash with PBVH in background mode, patch by Campbell.