9 years agosvn merge ^/trunk/blender -r50089:50091
Campbell Barton [Tue, 21 Aug 2012 15:45:58 +0000 (15:45 +0000)]
svn merge ^/trunk/blender -r50089:50091

9 years agoalt+wheel scrolling over the render slots works again (this didnt support scrolling...
Campbell Barton [Tue, 21 Aug 2012 15:45:17 +0000 (15:45 +0000)]
alt+wheel scrolling over the render slots works again (this didnt support scrolling when new interfaces would replace the old ones).

9 years agosvn merge ^/trunk/blender -r50080:50089
Campbell Barton [Tue, 21 Aug 2012 15:16:53 +0000 (15:16 +0000)]
svn merge ^/trunk/blender -r50080:50089

9 years agofix [#32374] Curve compositor UI drawing glitch
Campbell Barton [Tue, 21 Aug 2012 15:14:29 +0000 (15:14 +0000)]
fix [#32374] Curve compositor UI drawing glitch
copy the curve for the compositor.

9 years agoFix #32334: mesh separate by material with > 2 materials could include some
Brecht Van Lommel [Tue, 21 Aug 2012 14:49:07 +0000 (14:49 +0000)]
Fix #32334: mesh separate by material with > 2 materials could include some
incorrect extra edges.

9 years agochange curve evaluation functions never to modify curve data (ensures thread safety...
Campbell Barton [Tue, 21 Aug 2012 14:43:51 +0000 (14:43 +0000)]
change curve evaluation functions never to modify curve data (ensures thread safety), now initializations has to be done outside evaluation.

9 years agoFix #32341: extrude with a mirror modifier could lead to orphan vertices, it
Brecht Van Lommel [Tue, 21 Aug 2012 14:38:03 +0000 (14:38 +0000)]
Fix #32341: extrude with a mirror modifier could lead to orphan vertices, it
was already removing unnecessary edges, just not vertices of those edges.

9 years agoFix #32369: pixel glitch with compositor curves node, and some pixels having
Brecht Van Lommel [Tue, 21 Aug 2012 13:19:34 +0000 (13:19 +0000)]
Fix #32369: pixel glitch with compositor curves node, and some pixels having
black point = white point. That's a degenerate case, clamped it now to 1e5,
which is a bit arbitrary, but infinity would give NaN issues.

9 years agoFix #32355: select vertex path not working when vertices are selected with e.g.
Brecht Van Lommel [Tue, 21 Aug 2012 13:19:31 +0000 (13:19 +0000)]
Fix #32355: select vertex path not working when vertices are selected with e.g.
border select. There was a fix before bmesh where it would require exactly two
vertices to be selected, but this was not ported over, and it also wasn't quite

This case should also work: click on two vertices, selected the path between
them, and then click on a 3rd vertex and select path, to extend the path further
from the 2nd to the 3rd vertex.

Now both use cases should work.

9 years agocode cleanup: more legacy compo functions ifdef'd
Campbell Barton [Tue, 21 Aug 2012 11:53:09 +0000 (11:53 +0000)]
code cleanup: more legacy compo functions ifdef'd

9 years agosvn merge ^/trunk/blender -r50076:50080
Campbell Barton [Tue, 21 Aug 2012 11:11:43 +0000 (11:11 +0000)]
svn merge ^/trunk/blender -r50076:50080

9 years agofix for bug with render slots - where the menus wouldnt only show layers from the...
Campbell Barton [Tue, 21 Aug 2012 11:10:16 +0000 (11:10 +0000)]
fix for bug with render slots - where the menus wouldnt only show layers from the last render which could be meaningless in different render slots.

9 years agoFix for
Jeroen Bakker [Tue, 21 Aug 2012 10:45:01 +0000 (10:45 +0000)]
Fix for
 * [#32356] Problem with "Ghost" in the "Glare" Node in Compositor

9 years agocode cleanup: minor changes to last commit.
Campbell Barton [Tue, 21 Aug 2012 10:44:10 +0000 (10:44 +0000)]
code cleanup: minor changes to last commit.

9 years agoMerging r50049 through r50076 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 21 Aug 2012 10:44:04 +0000 (10:44 +0000)]
Merging r50049 through r50076 from trunk into soc-2011-tomato

9 years agoSequencer: invalidate current frame cache on sequence transform
Sergey Sharybin [Tue, 21 Aug 2012 10:42:21 +0000 (10:42 +0000)]
Sequencer: invalidate current frame cache on sequence transform

9 years agocode cleanup: vfont's used confusing and over complicated method of storing memory...
Campbell Barton [Tue, 21 Aug 2012 10:39:02 +0000 (10:39 +0000)]
code cleanup: vfont's used confusing and over complicated method of storing memory for loaded fonts, not store as a temp var in the fonts.

9 years agoFix #32370: compiler error in wm_playanim.c due to conflicting Carbon ID type
Brecht Van Lommel [Tue, 21 Aug 2012 10:24:30 +0000 (10:24 +0000)]
Fix #32370: compiler error in wm_playanim.c due to conflicting Carbon ID type
from Quicktime headers. However the Quicktime init/exit is no longer needed
here, it happens in IMB_init/IMB_exit now, so removed that code.

9 years agocode cleanup: includes and correction for macro
Campbell Barton [Tue, 21 Aug 2012 09:45:30 +0000 (09:45 +0000)]
code cleanup: includes and correction for macro

9 years agomask: skip self intersection on drawing when fill is disabled, since it was only...
Campbell Barton [Tue, 21 Aug 2012 09:20:35 +0000 (09:20 +0000)]
mask: skip self intersection on drawing when fill is disabled, since it was only drawing on one side of an unfilled spline.

9 years agoFix cycles issue with non-progressive integrator and AO, setting AO samples > 1
Brecht Van Lommel [Tue, 21 Aug 2012 09:01:50 +0000 (09:01 +0000)]
Fix cycles issue with non-progressive integrator and AO, setting AO samples > 1
did not give properly normalized values.

9 years agocode cleanup: some legacy compo nodes were not ifdef'd
Campbell Barton [Tue, 21 Aug 2012 08:58:47 +0000 (08:58 +0000)]
code cleanup: some legacy compo nodes were not ifdef'd

9 years agoFix cycles continuously updating when creating a driver for a scene property,
Brecht Van Lommel [Tue, 21 Aug 2012 08:57:24 +0000 (08:57 +0000)]
Fix cycles continuously updating when creating a driver for a scene property,
like driving integrator seed with #frame.

The scene drivers are evaluated continuously, which would be nice to fix but
complicated, now it compares the RNA value to see if it actually changed, and
avoids the update in that case, which is a useful optimization by itself.

9 years agocode cleanup: don't use magic numbers for curve flag & use bool args for curvemapping...
Campbell Barton [Tue, 21 Aug 2012 08:47:36 +0000 (08:47 +0000)]
code cleanup: don't use magic numbers for curve flag & use bool args for curvemapping_changed()

9 years agocompositor color curve was MEM_dupallocN'ing the curve for every pixel calculation...
Campbell Barton [Tue, 21 Aug 2012 08:30:45 +0000 (08:30 +0000)]
compositor color curve was MEM_dupallocN'ing the curve for every pixel calculation (when there were black or white inputs on the curve node).

avoid allocation by using local vars for black/white storage & curve calculation.

9 years agocode cleanup: use math functions for curve compo code.
Campbell Barton [Tue, 21 Aug 2012 08:20:32 +0000 (08:20 +0000)]
code cleanup: use math functions for curve compo code.

9 years agocode cleanup: use BLI_RCT_SIZE macro
Campbell Barton [Mon, 20 Aug 2012 23:06:17 +0000 (23:06 +0000)]
code cleanup: use BLI_RCT_SIZE macro

9 years agoLegacy Compositor / Scons:
Thomas Dinges [Mon, 20 Aug 2012 20:13:37 +0000 (20:13 +0000)]
Legacy Compositor / Scons:
* Added WITH_BF_COMPOSITOR_LEGACY, enabled per default.

9 years agoCycles / Cmake:
Thomas Dinges [Mon, 20 Aug 2012 19:40:49 +0000 (19:40 +0000)]
Cycles / Cmake:
* Removed last instance of "BLENDER_PLUGIN" define, removed in r39465 in the cycles branch.

9 years agoHDR color picker now works in the clip space.
Campbell Barton [Mon, 20 Aug 2012 16:56:11 +0000 (16:56 +0000)]
HDR color picker now works in the clip space.

9 years agofix for mask feather intersection checks not working right for non-filled, feathered...
Campbell Barton [Mon, 20 Aug 2012 16:34:14 +0000 (16:34 +0000)]
fix for mask feather intersection checks not working right for non-filled, feathered masks.

now do intersection checks for both sides of the feather.

9 years agoSequencer: clear cache and animation buffers for strips outside of cursor when rendering
Sergey Sharybin [Mon, 20 Aug 2012 16:15:09 +0000 (16:15 +0000)]
Sequencer: clear cache and animation buffers for strips outside of cursor when rendering

This avoids having bunch of cached images when doing animation rendering,
keeping all the memory available for rendered itself.

This keeps memory usage low when rendering huge edits with mixed
scenes and movie strips.

This should not affect on sped of video encoding, which was confirmed by
some own tests.

Currently commiting to tomato due to not sure if there's something
i can not foresee here.

9 years agomacros for rectangle center and size
Campbell Barton [Mon, 20 Aug 2012 15:29:02 +0000 (15:29 +0000)]
macros for rectangle center and size

9 years agoMerging r50045 through r50048 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 20 Aug 2012 15:17:17 +0000 (15:17 +0000)]
Merging r50045 through r50048 from trunk into soc-2011-tomato

9 years agoSequencer: fix regression introduced in own previous commit
Sergey Sharybin [Mon, 20 Aug 2012 15:14:23 +0000 (15:14 +0000)]
Sequencer: fix regression introduced in own previous commit

Invalidate preprocessed cache when when global sequencer cache is
begin invalidated.

This is needed so scene would be rendered with a proper settings,
not taken from preprocess cache.

9 years agosvn merge ^/trunk/blender -r50039:50044
Campbell Barton [Mon, 20 Aug 2012 14:01:16 +0000 (14:01 +0000)]
svn merge ^/trunk/blender -r50039:50044

9 years agominor cleanup to node pasting.
Campbell Barton [Mon, 20 Aug 2012 13:59:19 +0000 (13:59 +0000)]
minor cleanup to node pasting.

9 years agofix for crash pasting nodes into a node tree when the ID pointer is lost.
Campbell Barton [Mon, 20 Aug 2012 13:51:25 +0000 (13:51 +0000)]
fix for crash pasting nodes into a node tree when the ID pointer is lost.
also fix for ID user count on paste which wasn't increasing.

9 years agoMerging r50037 through r50039 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 20 Aug 2012 10:57:51 +0000 (10:57 +0000)]
Merging r50037 through r50039 from trunk into soc-2011-tomato

9 years agoSequencer: skip adding ImBuf to cache when it failed to render
Sergey Sharybin [Mon, 20 Aug 2012 10:56:19 +0000 (10:56 +0000)]
Sequencer: skip adding ImBuf to cache when it failed to render

9 years agosvn merge ^/trunk/blender -r50023:50036
Campbell Barton [Mon, 20 Aug 2012 10:16:22 +0000 (10:16 +0000)]
svn merge ^/trunk/blender -r50023:50036

9 years agoSequencer: Python API for sequence modifiers
Sergey Sharybin [Mon, 20 Aug 2012 10:15:32 +0000 (10:15 +0000)]
Sequencer: Python API for sequence modifiers

9 years agofix for own error in bpy.utils.blend_paths() arg parsing.
Campbell Barton [Mon, 20 Aug 2012 10:14:11 +0000 (10:14 +0000)]
fix for own error in bpy.utils.blend_paths() arg parsing.

9 years agoquiet unused function warnings in RNA for functions created by macros.
Campbell Barton [Mon, 20 Aug 2012 07:29:11 +0000 (07:29 +0000)]
quiet unused function warnings in RNA for functions created by macros.

9 years agoadded 'Unselected' option to remove doubles, merges selected vertices into unselected...
Campbell Barton [Mon, 20 Aug 2012 00:11:13 +0000 (00:11 +0000)]
added 'Unselected' option to remove doubles, merges selected vertices into unselected ones, but not each other.

9 years agodisabling the compositor legacy build option now ifdef's exec() functions.
Campbell Barton [Sun, 19 Aug 2012 23:36:29 +0000 (23:36 +0000)]
disabling the compositor legacy build option now ifdef's exec() functions.

9 years agooption to build without the legacy compositor
Campbell Barton [Sun, 19 Aug 2012 22:19:19 +0000 (22:19 +0000)]
option to build without the legacy compositor

9 years agocopy as script operator for the console, so you can copy input from a console for...
Campbell Barton [Sun, 19 Aug 2012 21:32:18 +0000 (21:32 +0000)]
copy as script operator for the console, so you can copy input from a console for use in a textblock.

9 years agopatch/bugfix [#32006] Fix for Collision Sensor - R6025 pure virtual function call...
Dalai Felinto [Sun, 19 Aug 2012 20:45:34 +0000 (20:45 +0000)]
patch/bugfix [#32006] Fix for Collision Sensor - R6025 pure virtual function call crash when deleting objects in overlay scene by Jay Parker(battery) Fix for bug [#30477] Collision Sensor - R6025 pure virtual function call crash

9 years agoFix crash when adding skin modifier to empty mesh
Nicholas Bishop [Sun, 19 Aug 2012 17:13:45 +0000 (17:13 +0000)]
Fix crash when adding skin modifier to empty mesh

Fixes bug [#32362] SIGSEGV when adding skin modifier to empty mesh

9 years ago Merging r50022 through r50023 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 19 Aug 2012 16:18:33 +0000 (16:18 +0000)]
 Merging r50022 through r50023 from trunk into soc-2011-tomato

9 years ago- fix for error in ndof patch.
Campbell Barton [Sun, 19 Aug 2012 15:56:49 +0000 (15:56 +0000)]
- fix for error in ndof patch.
- ColorBalanceModifierData wasn't aligned on 32bit systems.
- BM_vert_find_first_loop() was missing NULL check.

9 years agoMerging r50016 through r50021 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 19 Aug 2012 15:44:59 +0000 (15:44 +0000)]
Merging r50016 through r50021 from trunk into soc-2011-tomato

9 years agoSequencer: per-sequence modifier stack for color grading
Sergey Sharybin [Sun, 19 Aug 2012 15:41:56 +0000 (15:41 +0000)]
Sequencer: per-sequence modifier stack for color grading

This implements basic color grading modifiers in sequencer, supporting
color balance, RGB curves and HUE corrections.

Implementation is close to object modifiers, some details are there:

Modifiers supports multi-threaded calculation, masks and instant
parameter changes.

Also added cache for pre-processed image buffers for current frame,
so changing sequence properties does not require rendering of original
sequence (like rendering scene, loading file from disk and so)

9 years agospelling cleanup: spelling corrections from user zeffii on IRC.
Campbell Barton [Sun, 19 Aug 2012 15:28:24 +0000 (15:28 +0000)]
spelling cleanup: spelling corrections from user zeffii on IRC.

9 years agoMerging r49953 through r50015 into from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 19 Aug 2012 13:57:55 +0000 (13:57 +0000)]
Merging r49953 through r50015 into from trunk into soc-2011-tomato

9 years agoPatch #32326: NDOF support of rotation and panning the view at the same time
Sergey Sharybin [Sun, 19 Aug 2012 13:52:36 +0000 (13:52 +0000)]
Patch #32326: NDOF support of rotation and panning the view at the same time

Additional changes:
- Option to the ndof menu letting you pick turntable/trackball independently
  of the mouse viewport navigation style
- Option to change the rotation sensitivity separate from the panning

Holding shift + moving the ndof does just as before locking it to panning
Holding ctrl + moving will lock it to only rotation

Patch by Fredrik Hansson, thanks!

Reviewed by self and Mike Erwin.

9 years agoTomato Cycles: fix for reading freed memory
Sergey Sharybin [Sun, 19 Aug 2012 12:07:28 +0000 (12:07 +0000)]
Tomato Cycles: fix for reading freed memory

Incorrect read was happening after nodes which are not affect on output
were removed from the graph. Other nodes could have been connected to
this nodes which lead to accessing freed memory in some other places.

Solved by removing links from unused nodes before removing them from
the graph.

9 years agostyle cleanup
Campbell Barton [Sun, 19 Aug 2012 10:41:27 +0000 (10:41 +0000)]
style cleanup

9 years agouse BLI math length functions for distance compositor operations.
Campbell Barton [Sun, 19 Aug 2012 10:41:16 +0000 (10:41 +0000)]
use BLI math length functions for distance compositor operations.

9 years agoThe Distance Node in 2.49/2.5/2.6 pre-tiles has a different calculation for RGB and...
Dalai Felinto [Sun, 19 Aug 2012 03:05:38 +0000 (03:05 +0000)]
The Distance Node in 2.49/2.5/2.6 pre-tiles has a different calculation for RGB and YCC. While RGB
calculate the distance in 3d between R,G and B, the YCC only takes Cb and Cr
into consideration.

This commit makes COM_DistanceMatteOperation inheritable and expose the calculate distance function
to be re-implemented for the YCC node operation.

Thanks Troy Sobotka for the report over email.
Patch incorporates review suggestions by Jeroen Bakker.

9 years agoFix for [#32361] "Blenderplayer quad-buffer maximum 100Hz Fps" reported by HG1.
Mitchell Stokes [Sat, 18 Aug 2012 23:46:37 +0000 (23:46 +0000)]
Fix for [#32361] "Blenderplayer quad-buffer maximum 100Hz Fps" reported by HG1.

Allowing the Blenderplayer to break 100fps by making it less dependent on Ghost's messages.

9 years agore-enable metaball orientation for manipulator and view axis setting (was disabled...
Campbell Barton [Sat, 18 Aug 2012 21:12:08 +0000 (21:12 +0000)]
re-enable metaball orientation for manipulator and view axis setting (was disabled since 2.4x)

9 years agofix for own commit r49991, this exposed bad logic in rect copy function.
Campbell Barton [Sat, 18 Aug 2012 20:54:43 +0000 (20:54 +0000)]
fix for own commit r49991, this exposed bad logic in rect copy function.

9 years agoFix simple subsurf on wire edges
Nicholas Bishop [Sat, 18 Aug 2012 19:54:21 +0000 (19:54 +0000)]
Fix simple subsurf on wire edges

Subsurf on wire edges gave smooth results even if set to simple
subdiv. Added a field to the CCG meshIFC to flag simple subdivision,
then when syncing vertices simply skip moving vertices if in
simple-subdiv mode.

This change affects two places, the level-1 build in sync and the
subdivision up to other levels.

Fixes bug [#32268] Simple Subsurf Modifier gives unexpected results on
edges without faces

9 years agocode cleanup: use BLI math funcs for metaballs, also remove MB_POINT struct and just...
Campbell Barton [Sat, 18 Aug 2012 19:30:27 +0000 (19:30 +0000)]
code cleanup: use BLI math funcs for metaballs, also remove MB_POINT struct and just use float[3] instead.

9 years agoFix incorrect error test when removing a modifier
Nicholas Bishop [Sat, 18 Aug 2012 19:01:37 +0000 (19:01 +0000)]
Fix incorrect error test when removing a modifier

r49989 had the test reversed

9 years agoFix reversed names in modifier-remove error report
Nicholas Bishop [Sat, 18 Aug 2012 18:54:05 +0000 (18:54 +0000)]
Fix reversed names in modifier-remove error report

9 years agocode cleanup: use BLI rect functions for interface button and block code.
Campbell Barton [Sat, 18 Aug 2012 18:11:51 +0000 (18:11 +0000)]
code cleanup: use BLI rect functions for interface button and block code.

9 years agouse rctf struct for UI buttons and blocks, easier to read and means we can use BLI_rc...
Campbell Barton [Sat, 18 Aug 2012 16:53:46 +0000 (16:53 +0000)]
use rctf struct for UI buttons and blocks, easier to read and means we can use BLI_rctf functions.

9 years agoutility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in a linked...
Campbell Barton [Sat, 18 Aug 2012 16:16:13 +0000 (16:16 +0000)]
utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in a linked list by a pointer.

9 years agoTomato Cycles: fix crash appearing when direct light usage is different on different...
Sergey Sharybin [Sat, 18 Aug 2012 15:46:32 +0000 (15:46 +0000)]
Tomato Cycles: fix crash appearing when direct light usage is different on different layers

Seems some variables used for light sampling should be reset when
integrator's use_direct_light flag is setting to false, otherwise
this values could be used from previously rendered layer resulting
in using freed memory of __light_distribution texture.

9 years agofix [#32353] 'Focus'(center) applied on a rig should only take visible bones into...
Campbell Barton [Sat, 18 Aug 2012 14:27:48 +0000 (14:27 +0000)]
fix [#32353] 'Focus'(center) applied on a rig should only take visible bones into account

9 years agocmake option to build without iksolver
Campbell Barton [Sat, 18 Aug 2012 13:36:29 +0000 (13:36 +0000)]
cmake option to build without iksolver

9 years agostyle cleanup: also correct some doxy comments
Campbell Barton [Sat, 18 Aug 2012 13:07:48 +0000 (13:07 +0000)]
style cleanup: also correct some doxy comments

9 years agoskip allocating texture coords for the displace modifier when they are unused.
Campbell Barton [Sat, 18 Aug 2012 11:48:35 +0000 (11:48 +0000)]
skip allocating texture coords for the displace modifier when they are unused.

9 years agoTypo fix: BKE_sequwnce_get_by_name -> BKE_sequence_get_by_name
Joshua Leung [Sat, 18 Aug 2012 05:49:55 +0000 (05:49 +0000)]
Typo fix: BKE_sequwnce_get_by_name -> BKE_sequence_get_by_name

9 years agoBone color groups now get synced too when syncing bone <-> animdata stuff
Joshua Leung [Sat, 18 Aug 2012 05:43:06 +0000 (05:43 +0000)]
Bone color groups now get synced too when syncing bone <-> animdata stuff

For now, the notifiers on bone group color setting won't trigger the necessary
color syncing, so it will be necessary to select another bone/object before the
view responds properly.

9 years agoSelecting nodes (and making one active) sets active F-Curve too now
Joshua Leung [Sat, 18 Aug 2012 05:26:40 +0000 (05:26 +0000)]
Selecting nodes (and making one active) sets active F-Curve too now

9 years agoBugfix [#27652] Selecting a bone doesn't update Driver Properties panel
Joshua Leung [Sat, 18 Aug 2012 05:14:21 +0000 (05:14 +0000)]
Bugfix [#27652] Selecting a bone doesn't update Driver Properties panel

More specifically, selecting bones didn't update the active F-Curve/Groups. This
meant that when editing drivers, it was often easy to accidentally edit the
drivers for the wrong bone.

9 years agoSilencing compiler warnings
Joshua Leung [Sat, 18 Aug 2012 04:50:20 +0000 (04:50 +0000)]
Silencing compiler warnings

9 years agoBugfix [#32331] Graph editor zoom to selected includes coordinate origin if more
Joshua Leung [Sat, 18 Aug 2012 04:39:15 +0000 (04:39 +0000)]
Bugfix [#32331] Graph editor zoom to selected includes coordinate origin if more
than one curve is displayed

The range calculation used to use a fixed 0-1 range whenever it couldn't find
any values for a particular F-Curve. However, this was then taken by the
aggregation calculation to be used as just another value, leading to problems if
only vertices of a very high-value curve are selected to be included.

Modified the range calculation to ensure that suitable vertices were found
before trying to take the range values returned.

9 years agoFix for some typos/spelling mistakes
Joshua Leung [Sat, 18 Aug 2012 03:55:19 +0000 (03:55 +0000)]
Fix for some typos/spelling mistakes

9 years agoMoving more duplicate code from GPU_create_gl_tex_compressed() and BL_Texture::InitGL...
Mitchell Stokes [Sat, 18 Aug 2012 03:32:28 +0000 (03:32 +0000)]
Moving more duplicate code from GPU_create_gl_tex_compressed() and BL_Texture::InitGLCompressedTex() into GPU_Upload_dxt_texture(). This reduces code duplication and ensures that both paths are using the same settings.

9 years agoSuport function for Collada exporter: after a generated image was stored to disk...
Gaia Clary [Fri, 17 Aug 2012 23:29:39 +0000 (23:29 +0000)]
Suport function for Collada exporter: after a generated image was stored to disk, the new filetype was not always recognized.

9 years agostyle cleanup
Campbell Barton [Fri, 17 Aug 2012 18:36:20 +0000 (18:36 +0000)]
style cleanup

9 years agofix own error in recent smoothview cleanup, also correct some cross references in...
Campbell Barton [Fri, 17 Aug 2012 14:43:20 +0000 (14:43 +0000)]
fix own error in recent smoothview cleanup, also correct some cross references in bmesh docs.

9 years agorename mask 'Shrink/Fatten' --> 'Scale Feather'
Campbell Barton [Fri, 17 Aug 2012 13:59:08 +0000 (13:59 +0000)]
rename mask 'Shrink/Fatten' --> 'Scale Feather'

9 years agosvn merge ^/trunk/blender -r49947:49952
Campbell Barton [Fri, 17 Aug 2012 13:04:23 +0000 (13:04 +0000)]
svn merge ^/trunk/blender -r49947:49952

9 years agoHDR color picking was not working for node space
Campbell Barton [Fri, 17 Aug 2012 13:00:11 +0000 (13:00 +0000)]
HDR color picking was not working for node space

9 years agoTomato Cycles: fix incorrect memory read when synchronizing mesh motion
Sergey Sharybin [Fri, 17 Aug 2012 12:58:31 +0000 (12:58 +0000)]
Tomato Cycles: fix incorrect memory read when synchronizing mesh motion

9 years agoDocumentation of the Bokeh image operation :)
Jeroen Bakker [Fri, 17 Aug 2012 12:53:04 +0000 (12:53 +0000)]
Documentation of the Bokeh image operation :)

9 years agocode cleanup:
Campbell Barton [Fri, 17 Aug 2012 12:32:13 +0000 (12:32 +0000)]
code cleanup:
- pass wire color to camera draw_viewport_object_reconstruction() rather then getting the theme color directly.
  this makes a change where selection color wont be used for unselected cameras (which IMHO is better, drawing selected wire color on nonselected cameras was confusing).
- use rgb_uchar_to_float()

9 years agosvn merge ^/trunk/blender -r49945:49947
Campbell Barton [Fri, 17 Aug 2012 11:35:14 +0000 (11:35 +0000)]
svn merge ^/trunk/blender -r49945:49947

9 years agofix for crash showing tooltip for NODE_OT_add_search()
Campbell Barton [Fri, 17 Aug 2012 11:31:54 +0000 (11:31 +0000)]
fix for crash showing tooltip for NODE_OT_add_search()

9 years agosvn merge ^/trunk/blender -r49939:49945
Campbell Barton [Fri, 17 Aug 2012 08:25:23 +0000 (08:25 +0000)]
svn merge ^/trunk/blender -r49939:49945

9 years agomore draw code cleanup: was making wrong guess about wire color for empty-image draw...
Campbell Barton [Thu, 16 Aug 2012 18:37:30 +0000 (18:37 +0000)]
more draw code cleanup: was making wrong guess about wire color for empty-image draw types. also pass wire color to the metaball.

9 years agochange to draw extra wire (draw_wire_extra)
Campbell Barton [Thu, 16 Aug 2012 17:42:06 +0000 (17:42 +0000)]
change to draw extra wire (draw_wire_extra)
- was changing color and changing glDepthMask even when the object type didnt support wire drawing and no wire would draw.
- was setting the color when no wire would draw.

9 years agore-work mesh drawing a little since we know the wire color some checks can be avoided.
Campbell Barton [Thu, 16 Aug 2012 17:23:47 +0000 (17:23 +0000)]
re-work mesh drawing a little since we know the wire color some checks can be avoided.

9 years agofix for odd bug/drawing glitch where loose mesh edges would draw with the wrong wire...
Campbell Barton [Thu, 16 Aug 2012 16:32:50 +0000 (16:32 +0000)]
fix for odd bug/drawing glitch where loose mesh edges would draw with the wrong wire color.

This was because the draw code was ignoring the wire color and incorrectly try to figure it out again.