Commit Graph

24838 Commits

Author SHA1 Message Date
Brecht Van Lommel
feefb4d2d2 Fix #22694: rendering exits editmode. Problem was due to incorrect fix for
bug #20091 in revision 24989, crash when rendering in metaball editmode.
2010-07-05 12:52:47 +00:00
Brecht Van Lommel
efeb8148c8 Fix #22213: applying deform modifier in front of multires modifier crashes,
should not do multires reshape in this case, but just regular apply.
2010-07-05 12:20:49 +00:00
Brecht Van Lommel
5bacd2df29 Fix #22666: linked data lights lag during transform in GLSL mode.
Actually a depsgraph issue, transforming objects was incorrectly
tagging their data for recalculation.
2010-07-05 11:52:54 +00:00
Brecht Van Lommel
052ab934aa Fix #20383: mesh deform modifier wasn't working on lattices. 2010-07-05 11:48:13 +00:00
Nathan Letwory
462d889720 another fix for osx scons 2010-07-05 10:32:14 +00:00
Campbell Barton
c9f667a92e texture saturation option.
we'll need a do-version bump soon or this will convert 0.0 saturation to 1.0 on load.
2010-07-05 10:18:59 +00:00
Campbell Barton
0f58a4c798 when making a metastrip use active strip for the channel when available. 2010-07-05 10:12:24 +00:00
Campbell Barton
58778d41e2 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.
2010-07-05 09:56:06 +00:00
Nathan Letwory
49b13c5385 Brainfart cleanup. 2010-07-05 09:33:17 +00:00
Brecht Van Lommel
51e74c26f7 Fix #22189: fields rendering crashes. 2010-07-05 09:31:24 +00:00
Campbell Barton
d9e9aa1e4d 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.
2010-07-05 07:08:10 +00:00
Nathan Letwory
1c35121213 == 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.
2010-07-05 07:06:19 +00:00
Sergey Sharybin
b5043c7dd5 Fixed case of letters in CHECKCXXSOURCECOMPILES in cmake macro TEST_SSE_SUPPORT
Should be CheckCXXSourceCompiles to work fine in linux
2010-07-05 06:32:29 +00:00
Andrea Weikert
7aca4eec4b compile fix, another missed semicolon - blush 2010-07-05 06:04:24 +00:00
Joshua Leung
05eb72ff14 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.
2010-07-05 04:37:30 +00:00
Joshua Leung
faf1c9a4bb 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).
2010-07-05 03:55:28 +00:00
Joshua Leung
02b0188c16 #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.
2010-07-05 03:02:57 +00:00
Joshua Leung
0a62388bfb 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.
2010-07-05 02:00:24 +00:00
Joshua Leung
8c042f779f 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 :)
2010-07-05 01:11:25 +00:00
Joshua Leung
fe6dfa52e9 Compile fix for r29954. He probably missed a file in the commit. 2010-07-05 00:48:57 +00:00
Campbell Barton
9c4e3a7b6b bugfix [#22724] "Scene" switch on the console doesn't work 2010-07-05 00:00:40 +00:00
Campbell Barton
a824220d3e better errors for failier to read blends 2010-07-04 23:26:55 +00:00
Campbell Barton
66a72343ef fix for building with cmake 2010-07-04 22:43:51 +00:00
Campbell Barton
ef3f967baf fix for building 2010-07-04 22:35:09 +00:00
Guillermo S. Romero
f3638488c3 Add missing ";". 2010-07-04 21:36:48 +00:00
Guillermo S. Romero
646ee52d3a SVN maintenance. 2010-07-04 21:33:01 +00:00
Andrea Weikert
4135f1310c 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
2010-07-04 21:14:59 +00:00
Campbell Barton
83a2a4e5b8 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.
2010-07-04 20:59:10 +00:00
Brecht Van Lommel
8f825bd460 Fix #21062 and #22175: crash with node previews being calculated while
editing nodes. Now preview jobs are killed before making any node edits.
2010-07-04 19:58:52 +00:00
Brecht Van Lommel
6c0f3d052e 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.
2010-07-04 18:40:59 +00:00
Brecht Van Lommel
effefdc9fa Fix #22432: unrenderable objects cast shadow in GLSL. Committing
patch by Matt, I only reviewed it.
2010-07-04 17:22:24 +00:00
Campbell Barton
15de21e438 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).
2010-07-04 17:14:06 +00:00
Campbell Barton
574d307635 fairly sure this is a typo, matt/elubie please check 2010-07-04 16:47:58 +00:00
Guillermo S. Romero
ce832cac03 SVN maintenance. 2010-07-04 16:47:35 +00:00
Ton Roosendaal
790491b0f0 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.
2010-07-04 16:34:24 +00:00
Brecht Van Lommel
cc68f45502 Fix cmake/OSX build after path changes. 2010-07-04 16:20:42 +00:00
Campbell Barton
05d2b904b2 remove unused var warnings in linux 2010-07-04 15:52:32 +00:00
Andrea Weikert
ca81aa704e 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.
2010-07-04 15:35:23 +00:00
Brecht Van Lommel
3ca7b160a6 Fix #22028: rendering from 3d view was OR-ing with scene render layers,
this isn't helpful, so just use 3d view layers.
2010-07-04 12:26:46 +00:00
Brecht Van Lommel
90162cb0cb 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!
2010-07-04 12:24:19 +00:00
Joshua Leung
ace570cb10 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.
2010-07-04 12:16:01 +00:00
Campbell Barton
f9933b2fee commenting group timeoffset since it causes groups objects to recalculate modifiers etc. constantly even when animation isnt playing. 2010-07-04 11:56:31 +00:00
Campbell Barton
8aa0f9b033 last fix still could give corrupt sound, rather then updating the sound info just add and remove the sound handle. 2010-07-04 10:51:10 +00:00
Campbell Barton
4a6cc10d75 swap strip data wasnt updating sounds 2010-07-04 10:22:31 +00:00
Campbell Barton
8e97e561a9 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.
2010-07-04 10:02:30 +00:00
Thomas Dinges
ce94f52dbc 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.
2010-07-04 09:42:00 +00:00
Campbell Barton
db4d317f6b 'Copy To Selected' (right click menu item) now works for sequence strips, useful for copying blend modes & opacity 2010-07-04 09:13:00 +00:00
Campbell Barton
5553f66eb7 sequencer
- 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).
2010-07-04 08:49:54 +00:00
Campbell Barton
c7869f9f85 - draw sequence strips within metastrips using their real start/end and channel positions.
- dont show color balance unless its enabled.
2010-07-04 01:56:04 +00:00
Campbell Barton
281902d6ee sequencer re-assign inputs back 2010-07-03 22:25:22 +00:00