Commit Graph

33496 Commits

Author SHA1 Message Date
Sergey Sharybin 3979aad82f Merging r49451 through r49462 from trunk into soc-2011-tomato 2012-08-01 15:05:42 +00:00
Campbell Barton 45801286a5 fix some more crashes when running skin operators on a mesh with no skin layer 2012-08-01 15:04:10 +00:00
Campbell Barton f86bd9d39a fix crash in sorting mesh elements when called without a viewport. 2012-08-01 14:51:49 +00:00
Sergey Sharybin 3e75da21f6 Code cleanup: remove some more unused includes of DNA_scene_types 2012-08-01 14:51:12 +00:00
Sergey Sharybin 52b4b49059 Code cleanup: Remove unused includes of DNA_scene_types. 2012-08-01 14:48:51 +00:00
Sergey Sharybin 6e208ee887 Replace scene pointer with scene name to prevent possible misusages
of scene in node in future.
2012-08-01 14:48:46 +00:00
Campbell Barton bfbda2d284 fix for crash in 'Skin Armature Create' when the mesh doesnt have any skin data. 2012-08-01 14:37:13 +00:00
Campbell Barton 7fd1bd18e5 fix crash when polling image sample outside image space.
also remove historic comment which isnt helpful.
2012-08-01 14:29:24 +00:00
Sergey Sharybin de4e940885 Remove mask cache hack added for mango project a while ago
We've got new rasterizer which doesn't require cacheing anymore.
2012-08-01 14:19:42 +00:00
Sergey Sharybin 3f5e3ae0bf Merging r49413 through r49450 from trunk into soc-2011-tomato 2012-08-01 14:14:22 +00:00
Sergey Sharybin 8a1a4a453d Tie compositor will now update render result when changing node setup
Issue was caused by the way how render result was acquiring -- pointer
to render data was used to find needed render descriptor. It's not
reliable since render contains copy of scene's render data, not pointer
to this data.

Use node scene's id name for render result acquiring, the same way
as it was done in old compositor system.
2012-08-01 13:59:08 +00:00
Campbell Barton dd6d788400 mask selection invert wasnt working. 2012-08-01 13:34:20 +00:00
Campbell Barton 179d00fb9c make node select_all consistent with other select operators, also add Ctrl+I, select inverse to node space. 2012-08-01 13:28:19 +00:00
Antonis Ryakiotakis 507a49add5 Fix blenderplayer link 2012-08-01 13:17:26 +00:00
Campbell Barton e00c7558bd - disable mask drawing in the sequencer, this isn't usable yet and likely wont be working in release.
- use define for max mask mblur samples, increase to 64 max.
2012-08-01 12:59:38 +00:00
Campbell Barton 26cc3dd708 misc mask fixes
- image space used wrong notifiers.
- image notifier now checks for mask mode before listening to mask edits.
- mask keyframes now draw in the image space.
2012-08-01 10:50:39 +00:00
Campbell Barton 0fee289551 style cleanup: >120 line length 2012-08-01 10:44:55 +00:00
Sergey Sharybin f8ff6edfc4 Add type RNA property to special nodes (e.g. frame) 2012-08-01 10:31:45 +00:00
Sergey Sharybin 6704f56c15 Do not highlight non-selected active node with active outline
This would match other areas in Blender.
2012-08-01 09:44:25 +00:00
Sergey Sharybin 9811e847ca Fix #32209: Autosave ignores multires sculpting
Use a bit different fix, which gets active scene from context and
uses this scene to figure out active object instead of itterating
through all the objects.
2012-08-01 09:04:40 +00:00
Campbell Barton a199ae5368 style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work). 2012-07-31 23:06:12 +00:00
Campbell Barton a70a48814e fix [#32232] Running script that changes area.type crashes blender.
(reported the bug to keep some reference to the script that crashes).
2012-07-31 22:15:54 +00:00
Campbell Barton 872ebc7310 fill in dummy values when using movie clip distort node but compiled without libmv. 2012-07-31 22:01:44 +00:00
Campbell Barton 33a9cafc3b quiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp. 2012-07-31 21:26:14 +00:00
Sergey Sharybin cdc6793dd8 Fixed own error in setting user counter to mask when changing clip editor's mask. 2012-07-31 20:58:48 +00:00
Sergey Sharybin d86b6dcf1c Expand function for masks, so no masks could be properly linked
in cases when they've got parenting to motion tracking data.
2012-07-31 20:54:27 +00:00
Daniel Genrich 32bd936f18 Mask / Win64 compile fix: "Index variable in OpenMP 'for' statement must have signed integral type" 2012-07-31 19:37:33 +00:00
Campbell Barton 72a3fb15d7 changes to mask editing
- use Alt to modify all mask feather at once while dragging.
- copying a multi-user mask from the interface works now.
- show masks when UV editing isnt used, rather then checking editmode (would give some odd/annoying image space header).
- add a fake mask user by default.
- moving points with LMB drag no longer selects them.
2012-07-31 17:31:34 +00:00
Sergey Sharybin e597234cb5 Code cleanup: remove unused code 2012-07-31 17:24:55 +00:00
Sergey Sharybin b9f72394fd Fixed wrong mask display with clip's pixel aspect and image editor display aspect != 1.0 2012-07-31 16:40:14 +00:00
Campbell Barton 4473b846fb multi-threaded sequencer buffer calculation for masks. 2012-07-31 16:37:47 +00:00
Campbell Barton 4c02549d5d remove references to raskter from compositor and BKE mask. 2012-07-31 16:04:47 +00:00
Campbell Barton 2e51811950 use the same rasterizer as the compositor for the sequencer. 2012-07-31 15:45:01 +00:00
Brecht Van Lommel 6d8fb7c0e7 Tweak to commit related to non-power-of-two textures, some cards claim to
support this but actually don't, so use the function that checks for that.
2012-07-31 15:05:14 +00:00
Brecht Van Lommel aac3f0eaeb Fix warnings on old apple GCC compiler due to no support for alloc_size attribute. 2012-07-31 15:05:09 +00:00
Sergey Sharybin aec620cc28 Resolve compilation error with MSVC 2012-07-31 14:27:14 +00:00
Campbell Barton c42d0189e5 resolve glitch in the image space where mask editing and UVs would conflict.
now UV editing overrides mask.
2012-07-31 14:16:27 +00:00
Campbell Barton a86f44a77a svn merge ^/trunk/blender -r49410:49412 2012-07-31 13:44:51 +00:00
Campbell Barton 8f6197bd08 support for curve orco uv's as UV's in cycles.
ideally these would be used as generated coordinates, but this is tricly because cycles calculates its own orco's and doesnt know about curve settings.
2012-07-31 13:43:26 +00:00
Sergey Sharybin b4fff83a34 Merging r49405 through r49410 from trunk into soc-2011-tomato 2012-07-31 13:17:07 +00:00
Jeroen Bakker e7e7972cd6 Fixed [#32226] Black cadioptric lenses in CPU BokehBlur node 2012-07-31 12:36:08 +00:00
Campbell Barton 8c2550eed7 prevent uninitialized memory use when writing avi's. 2012-07-31 10:34:42 +00:00
Sergey Sharybin a080183e42 Merging r49400 through r49404 from trunk into soc-2011-tomato 2012-07-30 17:12:55 +00:00
Sergey Sharybin 75046eadbf Mango request: option to create nodes with hidden preview by default 2012-07-30 17:11:59 +00:00
Campbell Barton b43699aa12 fix own mistake getting an image for the image open file selector. 2012-07-30 17:02:28 +00:00
Campbell Barton 82fc02fb48 fix for own error in r43796, 'Find Missing Files', could set the path to an empty string. 2012-07-30 16:42:26 +00:00
Sergey Sharybin ccf2f85b3e Merging r49390 through r49399 from trunk into soc-2011-tomato 2012-07-30 16:40:23 +00:00
Sergey Sharybin 9c35147666 Fixed own regression introduced in recent compositor commit
MuteNode could be used as a replacement for other nodes when
using fast calculation or when using unknown node from blender.

Should work properly now.
2012-07-30 16:39:39 +00:00
Sergey Sharybin 2feac552eb Color management: initialize input color space for newly opening images 2012-07-30 16:07:37 +00:00
Daniel Genrich 46ac23d04e Fix: "void" function returning value. 2012-07-30 12:33:28 +00:00