blender-staging.git
10 years agoAudaspace:
Joerg Mueller [Fri, 9 Jul 2010 12:35:40 +0000 (12:35 +0000)]
Audaspace:
* Renamed AUD_Handle to AUD_Channel in the C-API to prevent errors with the C++ version of AUD_Handle.
* Added Python API!!!

10 years agoAudaspace:
Joerg Mueller [Fri, 9 Jul 2010 08:56:25 +0000 (08:56 +0000)]
Audaspace:
* Comment fix for PingPongFactory
* Added 2 new factory types: Superpose and Double

10 years agoFix for ipo conversion on file transition in the game engine.
Joerg Mueller [Thu, 8 Jul 2010 17:47:46 +0000 (17:47 +0000)]
Fix for ipo conversion on file transition in the game engine.

10 years agoMerging revision 29560:30125 from trunk.
Joerg Mueller [Thu, 8 Jul 2010 17:31:43 +0000 (17:31 +0000)]
Merging revision 29560:30125 from trunk.

10 years agofix for crash if image names are too long in adding image strips to the sequencer.
Campbell Barton [Thu, 8 Jul 2010 17:00:06 +0000 (17:00 +0000)]
fix for crash if image names are too long in adding image strips to the sequencer.

10 years agoadded imports to templates
Campbell Barton [Thu, 8 Jul 2010 16:24:24 +0000 (16:24 +0000)]
added imports to templates

10 years agoimport bpy needed for presets now
Campbell Barton [Thu, 8 Jul 2010 16:10:14 +0000 (16:10 +0000)]
import bpy needed for presets now

10 years agoFix: object_duplilist should be passed the original scene rather than
Brecht Van Lommel [Thu, 8 Jul 2010 15:07:35 +0000 (15:07 +0000)]
Fix: object_duplilist should be passed the original scene rather than
the set scene, otherwise can have wrong current frame and render settings,
in particular this give issues with particle object instancing.

10 years ago- duplicating a scene now duplicates all strips (not just selected ones)
Campbell Barton [Thu, 8 Jul 2010 14:30:43 +0000 (14:30 +0000)]
- duplicating a scene now duplicates all strips (not just selected ones)
- python change, dont import 'bpy' by default, initially I thaught this would make scripting easier but it ends up being annoying when you want to register a script or if you want to import it. (more trouble then its worth to save 1 line, also not very pythonic).

10 years agoShift+O to toggle overlay
Campbell Barton [Thu, 8 Jul 2010 14:01:48 +0000 (14:01 +0000)]
Shift+O to toggle overlay

10 years agoSequencer display overlay option, this can show a border area from another time to...
Campbell Barton [Thu, 8 Jul 2010 10:03:29 +0000 (10:03 +0000)]
Sequencer display overlay option, this can show a border area from another time to help compare for color grading.
- Okey sets the border in the display.
- Okey resets the frame offset in the sequencer timeline.
- ghost icon in the header can enable/disable.
- frame offset can be relative or absolute (lock icon)

Not very happy that this commit adds a call to BKE_animsys_evaluate_animdata(scene, ...) in do_build_seq_array_recursively()
without this the offset frames dont have fcurves applied.
Though we will need something like this for prefetch frames to work too.

10 years agoLogic UI: small commit - set visible flag for sensor and actuator (so it works with...
Dalai Felinto [Thu, 8 Jul 2010 09:25:18 +0000 (09:25 +0000)]
Logic UI: small commit - set visible flag for sensor and actuator (so it works with the move logic bricks operator to be committed)

10 years agoLogic UI: fix for #Motion Actuator Dynamic options not showing for Soft Body and...
Dalai Felinto [Thu, 8 Jul 2010 06:49:08 +0000 (06:49 +0000)]
Logic UI: fix for #Motion Actuator Dynamic options not showing for Soft Body and Rigid Body (reported by Mal Duffin (malCanDo) over email)
Originally (2.49) we were testing for ob->game_flag to see if the object is dynamic.
That could work here (it would require a new rna prop for the object (a read-only is_dynamic) or similar.
However using ob.game.physics_type is more explicit, therefore may be more interesting. I have no strong opinions on that...

10 years ago=== Windows installer ===
Nathan Letwory [Thu, 8 Jul 2010 06:16:08 +0000 (06:16 +0000)]
=== Windows installer ===
* cleanup link section for Start Menu

10 years agoFix #22340: sintel appears in seemingly random poses on load.
Brecht Van Lommel [Wed, 7 Jul 2010 18:47:49 +0000 (18:47 +0000)]
Fix #22340: sintel appears in seemingly random poses on load.

Pose proxy synchronization happened after drivers were already evaluated,
now moved to start of object_handle_update.

10 years agoNodes:
Thomas Dinges [Wed, 7 Jul 2010 18:39:08 +0000 (18:39 +0000)]
Nodes:
* Tooltips for the Blur Node

10 years agoFix for bug #22763, Blender 2.52 Crashes with the default scene when in weight paint...
Nicholas Bishop [Wed, 7 Jul 2010 17:32:50 +0000 (17:32 +0000)]
Fix for bug #22763, Blender 2.52 Crashes with the default scene when in weight paint mode clicking the Levels option

* Add a `return 0' to ED_vgroup_give_parray to avoid falling through from mesh to lattice

10 years agoFix #21540: depsgraph problem on load, meshes on non-visible layers
Brecht Van Lommel [Wed, 7 Jul 2010 17:08:20 +0000 (17:08 +0000)]
Fix #21540: depsgraph problem on load, meshes on non-visible layers
were not created when objects on visible layers depended on them, now
it uses the flushed layer to determine if the object data should be
recalculated.

10 years agofix for duplicating metastrips, unique names and animation data.
Campbell Barton [Wed, 7 Jul 2010 16:37:41 +0000 (16:37 +0000)]
fix for duplicating metastrips, unique names and animation data.

10 years agoFix #22776: merge and remove doubles don't recalculate normals.
Brecht Van Lommel [Wed, 7 Jul 2010 16:23:38 +0000 (16:23 +0000)]
Fix #22776: merge and remove doubles don't recalculate normals.

10 years agoduplicating a sequence strip now duplicates its fcurves
Campbell Barton [Wed, 7 Jul 2010 16:17:18 +0000 (16:17 +0000)]
duplicating a sequence strip now duplicates its fcurves

10 years agoFix #22772: remove unnecessary -fpascal-strings flag on OS X, only
Brecht Van Lommel [Wed, 7 Jul 2010 15:26:02 +0000 (15:26 +0000)]
Fix #22772: remove unnecessary -fpascal-strings flag on OS X, only
some debug code in webplugin needed it.

10 years agoFix #22219: compile error with videotexture/libavutil and recent gcc,
Brecht Van Lommel [Wed, 7 Jul 2010 15:24:06 +0000 (15:24 +0000)]
Fix #22219: compile error with videotexture/libavutil and recent gcc,
need __STDC_CONSTANT_MACROS defined.

10 years agofix for numeric problems for color balance in the sequencer (same check as in composi...
Campbell Barton [Wed, 7 Jul 2010 15:06:57 +0000 (15:06 +0000)]
fix for numeric problems for color balance in the sequencer (same check as in compositor).
for optimized builds this gave crazy colors.

10 years agoFix #22354, #22727, #22501: image window not display correct
Brecht Van Lommel [Wed, 7 Jul 2010 14:28:22 +0000 (14:28 +0000)]
Fix #22354, #22727, #22501: image window not display correct
renders with compositing and slots.

10 years agoConstraint UI:
Thomas Dinges [Wed, 7 Jul 2010 14:10:41 +0000 (14:10 +0000)]
Constraint UI:
* Some code cleaning.
* Removed icon and emboss for the "enabled" bool, use default checkbox now.

10 years agodont swap strip names when swapping strips, means they keep their fcurves
Campbell Barton [Wed, 7 Jul 2010 13:14:51 +0000 (13:14 +0000)]
dont swap strip names when swapping strips, means they keep their fcurves

10 years agoremove unused files.
Nathan Letwory [Wed, 7 Jul 2010 12:50:24 +0000 (12:50 +0000)]
remove unused files.

10 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

10 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

10 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

10 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

10 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.

10 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

10 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.

10 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.

10 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.

10 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 Graphicall.org by Robroy

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

10 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

10 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)

10 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.

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

10 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).

10 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

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

10 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 user-config.py BF_VCREDIST full path to the redist you have.

Note: this works only with SCons.

10 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

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

10 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.

10 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

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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,
http://www.graphicall.org/ftp/ideasman42/color_balance_before_after.png

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

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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.

10 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.

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

10 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.

10 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.

10 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.

10 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

10 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

10 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.

10 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).

10 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.

10 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.

10 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 :)

10 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.

10 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

10 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

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

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

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

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

10 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

TODO:
* 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...

NOTE:
Things are likely broken for macs

10 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.

10 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.

10 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.

10 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.

10 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).

10 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

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

10 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.

10 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.

10 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

10 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: http://projects.blender.org/tracker/?func=detail&aid=22339&group_id=9&atid=127

This patch implements the proposal outlined here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal

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

NOTE:
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.

10 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.

10 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!