9 years agocode cleanup: minor edit - replace memset() with zero initialization, remove unneeded...
Campbell Barton [Sun, 5 Aug 2012 15:04:10 +0000 (15:04 +0000)]
code cleanup: minor edit - replace memset() with zero initialization, remove unneeded NULL check in ibuf_sample()

9 years agocode cleanup: remove redundant calls to CTX_data_main()
Campbell Barton [Sun, 5 Aug 2012 14:11:51 +0000 (14:11 +0000)]
code cleanup: remove redundant calls to CTX_data_main()

9 years agofix uninitialized memory use for mask feather points, also remove some double promotions.
Campbell Barton [Sun, 5 Aug 2012 13:26:39 +0000 (13:26 +0000)]
fix uninitialized memory use for mask feather points, also remove some double promotions.

9 years agoCOLLADA: #29058 Fixed crash when illegal reference to non existing camera object...
Gaia Clary [Sun, 5 Aug 2012 10:23:34 +0000 (10:23 +0000)]
COLLADA: #29058 Fixed crash when illegal reference to non existing camera object is found. And report a warning to the console)

9 years agoFix for keying screen incorrect memory write when some of tracks are disabled.
Sergey Sharybin [Sun, 5 Aug 2012 09:31:48 +0000 (09:31 +0000)]
Fix for keying screen incorrect memory write when some of tracks are disabled.

9 years agoFix [#32260] 'Select Sharp Edges' works vice versa
Bastien Montagne [Sun, 5 Aug 2012 07:50:51 +0000 (07:50 +0000)]
Fix [#32260] 'Select Sharp Edges' works vice versa

We want to select edges sharpest than the given threshold, i.e. which faces’s angle is below the limit! Looks like BMesh switched this somehow...

9 years agoBGE: Fixing a NULL pointer exception caused by calling KX_Scene.active_camera when...
Mitchell Stokes [Sun, 5 Aug 2012 07:01:08 +0000 (07:01 +0000)]
BGE: Fixing a NULL pointer exception caused by calling KX_Scene.active_camera when there is no camera in the scene.

9 years agoCOLLADA: fix for #32251. This seems to be compliant to the Collada 1.4.1 specification.
Gaia Clary [Sat, 4 Aug 2012 22:18:56 +0000 (22:18 +0000)]
COLLADA: fix for #32251. This seems to be compliant to the Collada 1.4.1 specification.

9 years agoCOLLADA: added initial support for ymag and yfov in importer. fixes issue #32237
Gaia Clary [Sat, 4 Aug 2012 21:25:19 +0000 (21:25 +0000)]
COLLADA: added initial support for ymag and yfov in importer. fixes issue #32237

9 years agofix a glitch where overlapping feathering could give random bad pixels, this was...
Campbell Barton [Sat, 4 Aug 2012 21:04:26 +0000 (21:04 +0000)]
fix a glitch where overlapping feathering could give random bad pixels, this was caused by feather edge going in a different direction to the mask edge - creating bowtie quads.

9 years agoWindows MSVC libraries:
Thomas Dinges [Sat, 4 Aug 2012 20:25:04 +0000 (20:25 +0000)]
Windows MSVC libraries:
* Some refactor, use set_lib_path macro again, which simplifies the code a bit.

9 years agoresolve some issues with curve resolution calculaction
Campbell Barton [Sat, 4 Aug 2012 20:17:22 +0000 (20:17 +0000)]
resolve some issues with curve resolution calculaction
- resolution could become so high that it would wrap around  to a negative number, now check for small numbers before doing float division.
- resolution was being calculated in some cases when it already met the clamp value - now this is skipped.

9 years agostyle cleanup
Campbell Barton [Sat, 4 Aug 2012 19:34:38 +0000 (19:34 +0000)]
style cleanup

9 years agostyle cleanup
Campbell Barton [Sat, 4 Aug 2012 12:54:27 +0000 (12:54 +0000)]
style cleanup

9 years agoCmake / Windows Libraries:
Thomas Dinges [Sat, 4 Aug 2012 12:43:45 +0000 (12:43 +0000)]
Cmake / Windows Libraries:
* Some more fixes for OpenEXR, works now (tested with cv2008 x64 and x32)
* Some more changes to have libs in lib/win*/libname/vc2010 folder. Commit to libs itself to change that will follow.

9 years agostyle cleanup
Campbell Barton [Sat, 4 Aug 2012 12:30:16 +0000 (12:30 +0000)]
style cleanup

9 years agoCode cleanup:
Thomas Dinges [Sat, 4 Aug 2012 11:42:38 +0000 (11:42 +0000)]
Code cleanup:
* Remove BSP_GhostTest, not used and working for ages, approved by Sergey.

9 years agoRevert part of r49504 by Genscher:
Thomas Dinges [Sat, 4 Aug 2012 11:39:16 +0000 (11:39 +0000)]
Revert part of r49504 by Genscher:
* MSVC Paths were put into the MinGW block, so Mingw did not work anymore.
* Also fix paths for vc2010 libs now, so they should work now with cmake.

9 years agoCamera tracking presets
Sergey Sharybin [Sat, 4 Aug 2012 10:47:31 +0000 (10:47 +0000)]
Camera tracking presets

- Fix for copy default settings from active track operator
- Add meaningful tracking presets

API changes:

- Added parameter exact to Marker.find_frame, so now it's
  possible to get estimated marker

- Added Marker.pattern_bound_box to get pattern's bound box

9 years agocode cleanup: use camelcase for struct name.
Campbell Barton [Fri, 3 Aug 2012 23:44:50 +0000 (23:44 +0000)]
code cleanup: use camelcase for struct name.

9 years agodont re-combute composite nodes when knife and add-socket operators don't add any...
Campbell Barton [Fri, 3 Aug 2012 23:44:19 +0000 (23:44 +0000)]
dont re-combute composite nodes when knife and add-socket operators don't add any links.

9 years agoallow editing masks in an image space when there is no image.
Campbell Barton [Fri, 3 Aug 2012 22:33:45 +0000 (22:33 +0000)]
allow editing masks in an image space when there is no image.
also simplify image listener.

9 years agocode cleanup:
Campbell Barton [Fri, 3 Aug 2012 22:12:57 +0000 (22:12 +0000)]
code cleanup:
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0)  with  (BKE_vfont_is_builtin(vfont)).
- reduce some double promotions.

9 years agofullscreen mask editing now works in the image space over a viewer node.
Campbell Barton [Fri, 3 Aug 2012 20:56:04 +0000 (20:56 +0000)]
fullscreen mask editing now works in the image space over a viewer node.

9 years agomask transforming when a mesh object was in editmode (but had no UV's), failed
Campbell Barton [Fri, 3 Aug 2012 20:12:49 +0000 (20:12 +0000)]
mask transforming when a mesh object was in editmode (but had no UV's), failed

9 years agochange blender minversion because of BMesh data.
Campbell Barton [Fri, 3 Aug 2012 15:23:17 +0000 (15:23 +0000)]
change blender minversion because of BMesh data.

9 years agofix/edits to vector font handling
Campbell Barton [Fri, 3 Aug 2012 15:03:40 +0000 (15:03 +0000)]
fix/edits to vector font handling
- don't overwrite the font path with "<builtin>" when the font file cant be found, it caused bad problems when loading files on someone elses systems when paths couldn't be found blender would silently clobber paths (tsk tsk).

- when fonts are freed their temp data is now freed too.

- assigning a new filepath to a font now refreshes the object data.

9 years agoadd option to link fonts in make links menu.
Campbell Barton [Fri, 3 Aug 2012 13:27:58 +0000 (13:27 +0000)]
add option to link fonts in make links menu.

9 years agofont filepath wasn't editable from python.
Campbell Barton [Fri, 3 Aug 2012 13:03:53 +0000 (13:03 +0000)]
font filepath wasn't editable from python.

9 years agoDO not draw active outline for collapsed nodes when they're not selected
Sergey Sharybin [Fri, 3 Aug 2012 11:39:34 +0000 (11:39 +0000)]
DO not draw active outline for collapsed nodes when they're not selected

Also made corrections to currently unused code

9 years agoFix for node placement when copying to/pasting from clipboard. Child node location...
Lukas Toenne [Fri, 3 Aug 2012 10:51:29 +0000 (10:51 +0000)]
Fix for node placement when copying to/pasting from clipboard. Child node location is always relative to parent nodes (if the parent is also copied) and must not be offset. Also takes the offset of the edited node group in the editor into account now.

9 years agostyle cleanup: compositor
Campbell Barton [Fri, 3 Aug 2012 10:19:13 +0000 (10:19 +0000)]
style cleanup: compositor

9 years agoFix for node clipboard copy operator for Frame nodes. Was redirecting the parent...
Lukas Toenne [Fri, 3 Aug 2012 10:18:52 +0000 (10:18 +0000)]
Fix for node clipboard copy operator for Frame nodes. Was redirecting the parent pointer of the original instead of the copied nodes.

9 years agofix for bokeh blur using uninitialized memory - it would cause some tiles not to...
Campbell Barton [Fri, 3 Aug 2012 09:51:10 +0000 (09:51 +0000)]
fix for bokeh blur using uninitialized memory - it would cause some tiles not to be blurred.

was in fact a bug in MemoryBuffer::getMaximumValue

9 years agocode cleanup: remove unused includes
Campbell Barton [Thu, 2 Aug 2012 23:03:16 +0000 (23:03 +0000)]
code cleanup: remove unused includes

9 years agoTypo fix, sorry. :/
Thomas Dinges [Thu, 2 Aug 2012 22:07:10 +0000 (22:07 +0000)]
Typo fix, sorry. :/

9 years agocode cleanup: move node background image operators into node_view.c
Campbell Barton [Thu, 2 Aug 2012 21:52:09 +0000 (21:52 +0000)]
code cleanup: move node background image operators into node_view.c

9 years agoCode cleanup:
Thomas Dinges [Thu, 2 Aug 2012 21:50:49 +0000 (21:50 +0000)]
Code cleanup:
* Removed some remaining defines for AVI_CODEC (from the old 2.4x days and windows only), because only some defines were left, no underlying code to bring back, so just as good remove for good.

9 years agorename node_state.c --> node_view.c
Campbell Barton [Thu, 2 Aug 2012 21:36:33 +0000 (21:36 +0000)]
rename node_state.c --> node_view.c

9 years agocode cleanup: double promotion warnings
Campbell Barton [Thu, 2 Aug 2012 21:17:12 +0000 (21:17 +0000)]
code cleanup: double promotion warnings

9 years agoRemove old boolean operation module
Sergey Sharybin [Thu, 2 Aug 2012 16:42:30 +0000 (16:42 +0000)]
Remove old boolean operation module

Carve proved it's a way to go, so the time have came to get rid of old
boolean operation module which isn't used anymore.

Still kept BOP interface but move it to BSP module. At some point it
could be cleaned up further (like perhaps removed extra abstraction
level or so) but would be nice to combine such a refactor with making
BSP aware of NGons.

Tested on linux using both cmake and scons, possible regressions on
windows/osx. Would check windoes build just after commit.

9 years agofix for crash when node groups loose their ID pointer references (when linked libs...
Campbell Barton [Thu, 2 Aug 2012 16:33:38 +0000 (16:33 +0000)]
fix for crash when node groups loose their ID pointer references (when linked libs don't load)

9 years agoNode selection: make node active before it could be unselected by extending
Sergey Sharybin [Thu, 2 Aug 2012 16:01:05 +0000 (16:01 +0000)]
Node selection: make node active before it could be unselected by extending
selection, which matches behavior of all other areas in blender.

9 years agoFix #31753: GLSL not updated after deleting lights in multiple-scene setting
Sergey Sharybin [Thu, 2 Aug 2012 15:49:20 +0000 (15:49 +0000)]
Fix #31753: GLSL not updated after deleting lights in multiple-scene setting

9 years agoOpenEXR: Enable again for MSVC 2010
Daniel Genrich [Thu, 2 Aug 2012 14:21:25 +0000 (14:21 +0000)]
OpenEXR: Enable again for MSVC 2010

9 years agocode cleanup: remove redundant float casts
Campbell Barton [Thu, 2 Aug 2012 11:33:21 +0000 (11:33 +0000)]
code cleanup: remove redundant float casts

9 years agofix for own regression in avi header writing.
Campbell Barton [Thu, 2 Aug 2012 11:25:04 +0000 (11:25 +0000)]
fix for own regression in avi header writing.

9 years agoimprove not very helpful error message.
Campbell Barton [Thu, 2 Aug 2012 10:42:40 +0000 (10:42 +0000)]
improve not very helpful error message.

9 years agoFix #32236: unstable z-buffer or z combine composition node
Sergey Sharybin [Thu, 2 Aug 2012 10:20:14 +0000 (10:20 +0000)]
Fix #32236: unstable z-buffer or z combine composition node

9 years agoClipboard feature for nodes. With the Copy operator a copy of all selected nodes...
Lukas Toenne [Thu, 2 Aug 2012 09:52:37 +0000 (09:52 +0000)]
Clipboard feature for nodes. With the Copy operator a copy of all selected nodes and links between them is stored in an offscreen list (not in the library). The Paste operator then in turn copies these into the active node tree in the editor.

Currently does not support copying of animation data. This would require copying of individual fcurves etc. between data block, which is not implemented yet.

Also it is currently possible to circumvent some constraints of the nodes, in particular for node groups (e.g. no groups inside groups, render layer not inside groups).

9 years agoBuildbot: package softwaregl scripts for buildbot builds
Sergey Sharybin [Thu, 2 Aug 2012 08:57:18 +0000 (08:57 +0000)]
Buildbot: package softwaregl scripts for buildbot builds

Uses the same libs as release environment does

9 years agocode cleanup: headers
Campbell Barton [Wed, 1 Aug 2012 20:39:14 +0000 (20:39 +0000)]
code cleanup: headers

9 years agoBugfix: High resolution "exploded" when using uneven resolutions, sometimes with...
Daniel Genrich [Wed, 1 Aug 2012 20:29:37 +0000 (20:29 +0000)]
Bugfix: High resolution "exploded" when using uneven resolutions, sometimes with specific object scaling.

Part of Smoke Development Phase III.

Credit also goes to MiikaH: It was a teamwork effort and took days to track down. :)

9 years agoFix #31800: Blender crash by rendering in connection with linked groups
Sergey Sharybin [Wed, 1 Aug 2012 19:22:04 +0000 (19:22 +0000)]
Fix #31800: Blender crash by rendering in connection with linked groups

Seems the issue was caused by render layer node overwritng active scene
when render button is clicked. It lead t situations when job was adding
with owner of rendering scene, but modal callback was checking for render
jobs existing for current active scene. There was no such jobs so operator
used to finish at this point and free report list used by render pipeline.

Solved by storing operator owner in operator's custom data. Probably
there's nicer way to do fix this issue but currently can't think of it.

9 years agosplit node_edit.c into separate files (add, group, relationshops), was almost 5000...
Campbell Barton [Wed, 1 Aug 2012 19:11:17 +0000 (19:11 +0000)]
split node_edit.c into separate files (add, group, relationshops), was almost 5000 loc.

9 years agogame engine: Fix CcdPhysicsEnvironment functions that accessed m_solverInfo
Sergej Reich [Wed, 1 Aug 2012 17:59:32 +0000 (17:59 +0000)]
game engine: Fix CcdPhysicsEnvironment functions that accessed m_solverInfo

The functions had no effect because m_solverInfo wasn't used anywhere.
Now we get the solver info from the dynamics world directly instead of using our own copy.

9 years agofix: column flow layout wrongly calculated height of second and subsequent columns...
Andrea Weikert [Wed, 1 Aug 2012 17:52:14 +0000 (17:52 +0000)]
fix: column flow layout wrongly calculated height of second and subsequent columns when used with more than 2 columns.
* discovered while playing with the column flow layout in asset branch.

9 years agofix for assert when going from edit mode directly into sculpt mode.
Campbell Barton [Wed, 1 Aug 2012 17:25:10 +0000 (17:25 +0000)]
fix for assert when going from edit mode directly into sculpt mode.
the tessellation faces were not pre-calculated.

9 years agogame engine: Use flags instead of hardcoded numbers for rna properties
Sergej Reich [Wed, 1 Aug 2012 17:19:32 +0000 (17:19 +0000)]
game engine: Use flags instead of hardcoded numbers for rna properties

9 years agoFix own regression in cycles frame node caused by recent node rna changes
Sergey Sharybin [Wed, 1 Aug 2012 16:17:44 +0000 (16:17 +0000)]
Fix own regression in cycles frame node caused by recent node rna changes

svn merge -r49465:49466 ^/branches/soc-2011-tomato

9 years agorename meaningless LIB flag name LIB_TEST --> LIB_NEED_EXPAND.
Campbell Barton [Wed, 1 Aug 2012 15:32:27 +0000 (15:32 +0000)]
rename meaningless LIB flag name LIB_TEST --> LIB_NEED_EXPAND.

9 years agoreplace 'GET_INT_FROM_POINTER( &((BHeadN*)0)->bhead) )' with 'offsetof(BHeadN, bhead))'
Campbell Barton [Wed, 1 Aug 2012 15:21:39 +0000 (15:21 +0000)]
replace 'GET_INT_FROM_POINTER( &((BHeadN*)0)->bhead) )' with 'offsetof(BHeadN, bhead))'

9 years agofix some more crashes when running skin operators on a mesh with no skin layer
Campbell Barton [Wed, 1 Aug 2012 15:04:10 +0000 (15:04 +0000)]
fix some more crashes when running skin operators on a mesh with no skin layer

9 years agoCode cleanup: silence some -Wnarrowing warnings from C++11
Sergey Sharybin [Wed, 1 Aug 2012 15:02:09 +0000 (15:02 +0000)]
Code cleanup: silence some -Wnarrowing warnings from C++11

9 years agoCycles:
Thomas Dinges [Wed, 1 Aug 2012 14:56:15 +0000 (14:56 +0000)]
* Removed outdated OpenCL comments, kernel features are defined in kernel_types.h now.

9 years agofix crash in sorting mesh elements when called without a viewport.
Campbell Barton [Wed, 1 Aug 2012 14:51:49 +0000 (14:51 +0000)]
fix crash in sorting mesh elements when called without a viewport.

9 years agoCode cleanup: remove some more unused includes of DNA_scene_types
Sergey Sharybin [Wed, 1 Aug 2012 14:51:12 +0000 (14:51 +0000)]
Code cleanup: remove some more unused includes of DNA_scene_types

9 years agoCode cleanup: Remove unused includes of DNA_scene_types.
Sergey Sharybin [Wed, 1 Aug 2012 14:48:51 +0000 (14:48 +0000)]
Code cleanup: Remove unused includes of DNA_scene_types.

9 years agoReplace scene pointer with scene name to prevent possible misusages
Sergey Sharybin [Wed, 1 Aug 2012 14:48:46 +0000 (14:48 +0000)]
Replace scene pointer with scene name to prevent possible misusages
of scene in node in future.

9 years agofix for crash in 'Skin Armature Create' when the mesh doesnt have any skin data.
Campbell Barton [Wed, 1 Aug 2012 14:37:13 +0000 (14:37 +0000)]
fix for crash in 'Skin Armature Create' when the mesh doesnt have any skin data.

9 years agofix crash when polling image sample outside image space.
Campbell Barton [Wed, 1 Aug 2012 14:29:24 +0000 (14:29 +0000)]
fix crash when polling image sample outside image space.

also remove historic comment which isnt helpful.

9 years agoTie compositor will now update render result when changing node setup
Sergey Sharybin [Wed, 1 Aug 2012 13:59:08 +0000 (13:59 +0000)]
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.

9 years agomask selection invert wasnt working.
Campbell Barton [Wed, 1 Aug 2012 13:34:20 +0000 (13:34 +0000)]
mask selection invert wasnt working.

9 years agomake node select_all consistent with other select operators, also add Ctrl+I, select...
Campbell Barton [Wed, 1 Aug 2012 13:28:19 +0000 (13:28 +0000)]
make node select_all consistent with other select operators, also add Ctrl+I, select inverse to node space.

9 years agoFix blenderplayer link
Antony Riakiotakis [Wed, 1 Aug 2012 13:17:26 +0000 (13:17 +0000)]
Fix blenderplayer link

9 years agoFix #32205: Holdout shader + transparent background stays black with Alpha = 1
Sergey Sharybin [Wed, 1 Aug 2012 12:59:47 +0000 (12:59 +0000)]
Fix #32205: Holdout shader + transparent background stays black with Alpha = 1

It was read of initialized memory around holdout_weight in cases when
holdout material is used. Seems that it should be assigned to result
of shader_holdout_eval here.

If Brecht could double check this it'll be great.

This could potentially fix #32224: Holdout Error with CUDA Cycles Render

9 years ago- disable mask drawing in the sequencer, this isn't usable yet and likely wont be...
Campbell Barton [Wed, 1 Aug 2012 12:59:38 +0000 (12:59 +0000)]
- 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.

9 years agoDocs / Templates:
Thomas Dinges [Wed, 1 Aug 2012 12:21:23 +0000 (12:21 +0000)]
Docs / Templates:
* Added a ui_panel template with more complex layouts.

9 years agomisc mask fixes
Campbell Barton [Wed, 1 Aug 2012 10:50:39 +0000 (10:50 +0000)]
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.

9 years agostyle cleanup: >120 line length
Campbell Barton [Wed, 1 Aug 2012 10:44:55 +0000 (10:44 +0000)]
style cleanup: >120 line length

9 years agoAdd type RNA property to special nodes (e.g. frame)
Sergey Sharybin [Wed, 1 Aug 2012 10:31:45 +0000 (10:31 +0000)]
Add type RNA property to special nodes (e.g. frame)

9 years agoDo not highlight non-selected active node with active outline
Sergey Sharybin [Wed, 1 Aug 2012 09:44:25 +0000 (09:44 +0000)]
Do not highlight non-selected active node with active outline

This would match other areas in Blender.

9 years agoFix #32209: Autosave ignores multires sculpting
Sergey Sharybin [Wed, 1 Aug 2012 09:04:40 +0000 (09:04 +0000)]
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.

9 years agostyle cleanup: whitespace, also add '?' to save over popup since it wasnt totally...
Campbell Barton [Tue, 31 Jul 2012 23:06:12 +0000 (23:06 +0000)]
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).

9 years agofix [#32232] Running script that changes area.type crashes blender.
Campbell Barton [Tue, 31 Jul 2012 22:15:54 +0000 (22:15 +0000)]
fix [#32232] Running script that changes area.type crashes blender.

(reported the bug to keep some reference to the script that crashes).

9 years agofill in dummy values when using movie clip distort node but compiled without libmv.
Campbell Barton [Tue, 31 Jul 2012 22:01:44 +0000 (22:01 +0000)]
fill in dummy values when using movie clip distort node but compiled without libmv.

9 years agoquiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp.
Campbell Barton [Tue, 31 Jul 2012 21:26:14 +0000 (21:26 +0000)]
quiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp.

9 years agoFixed own error in setting user counter to mask when changing clip editor's mask.
Sergey Sharybin [Tue, 31 Jul 2012 20:58:48 +0000 (20:58 +0000)]
Fixed own error in setting user counter to mask when changing clip editor's mask.

9 years agoExpand function for masks, so no masks could be properly linked
Sergey Sharybin [Tue, 31 Jul 2012 20:54:27 +0000 (20:54 +0000)]
Expand function for masks, so no masks could be properly linked
in cases when they've got parenting to motion tracking data.

9 years agoMask / Win64 compile fix: "Index variable in OpenMP 'for' statement must have signed...
Daniel Genrich [Tue, 31 Jul 2012 19:37:33 +0000 (19:37 +0000)]
Mask / Win64 compile fix: "Index variable in OpenMP 'for' statement must have signed integral type"

9 years agochanges to mask editing
Campbell Barton [Tue, 31 Jul 2012 17:31:34 +0000 (17:31 +0000)]
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.

9 years agoCode cleanup: remove unused code
Sergey Sharybin [Tue, 31 Jul 2012 17:24:55 +0000 (17:24 +0000)]
Code cleanup: remove unused code

9 years agoFixed wrong mask display with clip's pixel aspect and image editor display aspect...
Sergey Sharybin [Tue, 31 Jul 2012 16:40:14 +0000 (16:40 +0000)]
Fixed wrong mask display with clip's pixel aspect and image editor display aspect != 1.0

9 years agomulti-threaded sequencer buffer calculation for masks.
Campbell Barton [Tue, 31 Jul 2012 16:37:47 +0000 (16:37 +0000)]
multi-threaded sequencer buffer calculation for masks.

9 years agoremove references to raskter from compositor and BKE mask.
Campbell Barton [Tue, 31 Jul 2012 16:04:47 +0000 (16:04 +0000)]
remove references to raskter from compositor and BKE mask.

9 years agouse the same rasterizer as the compositor for the sequencer.
Campbell Barton [Tue, 31 Jul 2012 15:45:01 +0000 (15:45 +0000)]
use the same rasterizer as the compositor for the sequencer.

9 years agoRemove "Loading byte/float" debug messages. They were added at the time
Sergey Sharybin [Tue, 31 Jul 2012 15:28:36 +0000 (15:28 +0000)]
Remove "Loading byte/float" debug messages. They were added at the time
we've been looking into texture limit for Mango and it's not needed now.

Anyway, this prints didn't cover all the cases when images were loading.

9 years agoFix cycles issue with wrong texture coordinates on a second render layer with
Brecht Van Lommel [Tue, 31 Jul 2012 15:05:16 +0000 (15:05 +0000)]
Fix cycles issue with wrong texture coordinates on a second render layer with
a mask layer enabled.

9 years agoTweak to commit related to non-power-of-two textures, some cards claim to
Brecht Van Lommel [Tue, 31 Jul 2012 15:05:14 +0000 (15:05 +0000)]
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.

9 years agoCode tweak removing comment, the fix here is indeed correct.
Brecht Van Lommel [Tue, 31 Jul 2012 15:05:11 +0000 (15:05 +0000)]
Code tweak removing comment, the fix here is indeed correct.