Commit Graph

56289 Commits

Author SHA1 Message Date
Campbell Barton
b80345db0b Fix tgz script, addons_contrib was in release 2014-10-21 13:58:13 +02:00
Bastien Montagne
00ff9da2ee ShapeKeys: rework 'move skey' code, and add options to move to first/last position.
Main moving logic is moved to new `BKE_keyblock_move()`, which makes it available from anywhere.
In addition, move code was reworked so that it only loops once on whole keyblocks list,
and it accepts arbitrary org and dest indices, not only neighbor ones.

Partly based on work by revzin (Grigory Revzin) in his soc-2014-shapekey GSoC branch, thanks!
2014-10-21 12:07:24 +02:00
Bastien Montagne
be4b2e42c6 BLI_listbase: add BLI_swaplinks which swaps given links' positions in given list.
Can be much simpler and quicker than using remlink/insert functions.
2014-10-21 12:07:24 +02:00
Bastien Montagne
62ceada48f UI Icons: add 'triangle-bar' left/right/up/down icons. 2014-10-21 12:07:23 +02:00
Campbell Barton
40938c3b4b Fix sequencer clipboard with meta's containing ID references 2014-10-21 11:36:11 +02:00
Campbell Barton
2e7d72202f Fix sequencer duplicate with only handle selected 2014-10-21 11:13:32 +02:00
Antony Riakiotakis
80b44133fc Fix T42326 trim operator not cancelled by the escape key. 2014-10-21 11:03:59 +02:00
Sergey Sharybin
560dd932c2 Don't change global compiler flags when FFmpeg is enabled
It should no be longer needed. If it causes the issues please let me know
to find a more cleaner solution.
2014-10-21 03:22:05 +06:00
Antony Riakiotakis
abb266973d Fix T42311, too many paint slots added.
Don't allow the add paint slot operator to redo. Also guard better against
excessive slot addition
2014-10-20 20:14:44 +02:00
Antony Riakiotakis
50cb62a3a0 Trim tool:
Effects strips in metastrips could be erratic.
2014-10-20 18:51:46 +02:00
Antony Riakiotakis
3ef4b3e35c Better fix for previous trim fix. 2014-10-20 18:29:33 +02:00
Campbell Barton
6bd53bb707 Fix T42313: Ruler always measures 0.0
Passing 'ar' to snapObjectsRayEx would apply a ray-offset.
2014-10-20 17:42:49 +02:00
Antony Riakiotakis
5362995fde Fix trim tools metastrip borders not getting updated correctly. 2014-10-20 17:37:13 +02:00
Antony Riakiotakis
f95241eb3e Merge trim tool from terrible_consequencer
The trim tool (T key) allows users to change the position of the
contents of a strip without moving the strip itself.
2014-10-20 15:40:18 +02:00
Sergey Sharybin
5223214199 Optimization for mesh deform: use BLI_INLINE specifiers
This helps compiler to do detect stuff which might be inlined,
gives around 30% speedup on my laptop with test files from ZanQdo.
2014-10-20 17:04:46 +06:00
Antony Riakiotakis
d968a1ebb0 Fix T42189
Own mistake - not copying enough data.
2014-10-20 12:35:49 +02:00
Campbell Barton
3138d39047 Fix T42264: Negative scale & clipped-select fails
Thanks to mont29 for finding the cause.
2014-10-20 11:17:36 +02:00
Bastien Montagne
04178d7fe4 Fix T42304: blender 2.72a 3D view object selected color wrong in 2.4x theme.
I would not have endured such a critical and monstruous bug one more femtosecond!

And even worse - active color was awfully wrong too! Shocking!
2014-10-19 20:55:38 +02:00
Antony Riakiotakis
308c4fc234 Fix T42303 Icons lost after loading window
The issue here is that if no matching winid is found, we destroy all
windows and their context with them. This will also delete the OpenGL
textures associated with the initial context, thus we lose the icons.
This patch makes sure a window is always kept for later so the initial
context does not get lost.

Thanks to Campbell and Ton for the discussion on the issue.
2014-10-19 20:50:57 +02:00
Grigory Revzin
984836781e Fix typo in calculateCenterMedian that could give computed median point wrong values.
From soc-2014-shapekey branch, with minor edits by mont29 (Bastien Montagne).
2014-10-19 20:15:03 +02:00
Campbell Barton
4dd5b635e8 Revert "Freestyle: Built-in SVG exporter."
This reverts commit 61a330baca.

This completes reverting D785

This feature is to be reworked into an addon.
2014-10-19 19:10:32 +02:00
Campbell Barton
4c86271bd9 Revert "Fix for rB61a330baca0f: Changed SVG file encoding from UTF-16 to UTF-8."
This reverts commit 490f2aeb82.
2014-10-19 19:09:58 +02:00
Campbell Barton
2103cf9355 Revert "Freestyle: rename module to export_svg"
This reverts commit db249b787f.
2014-10-19 19:09:49 +02:00
Campbell Barton
b495395ee5 Revert "Freestyle: add GPL headers"
This reverts commit 3cbb066b83.
2014-10-19 19:09:41 +02:00
Campbell Barton
a9fdb70162 Revert "Cleanup: pep8"
This reverts commit 06cdc35a68.
2014-10-19 19:09:33 +02:00
Campbell Barton
0f1c959b05 Revert "Cleanup: unused import"
This reverts commit fc7752b53c.
2014-10-19 19:09:26 +02:00
Campbell Barton
dd2525c362 Revert "Freestyle: lazy load 'export_svg'"
This reverts commit c35a649a0a.
2014-10-19 19:09:18 +02:00
Campbell Barton
923423e4cd Reports: include parent library in readfile report
Helps troubleshooting indirect links.
2014-10-19 12:49:01 +02:00
Campbell Barton
c35a649a0a Freestyle: lazy load 'export_svg'
Loading XML module, registering etree namespaces... etc
on startup for everyone on chance someone may want to export
an SVG from Freestyle is unacceptable.

This shouldn't have got through the review.

also disable loading when built without freestyle.
2014-10-18 17:49:06 +02:00
Campbell Barton
fc7752b53c Cleanup: unused import 2014-10-18 17:32:05 +02:00
Campbell Barton
06cdc35a68 Cleanup: pep8 2014-10-18 17:30:46 +02:00
Campbell Barton
3cbb066b83 Freestyle: add GPL headers 2014-10-18 17:28:24 +02:00
Campbell Barton
db249b787f Freestyle: rename module to export_svg
Convention for existing export modules
2014-10-18 17:25:55 +02:00
Tamito Kajiyama
490f2aeb82 Fix for rB61a330baca0f: Changed SVG file encoding from UTF-16 to UTF-8. 2014-10-18 23:42:16 +09:00
Antony Riakiotakis
3a961d66ef Fix T42281, crash in subsurf with texture painting. 2014-10-18 13:18:04 +02:00
Tamito Kajiyama
61a330baca Freestyle: Built-in SVG exporter.
Features:
* Both still image and animation rendering, as well as polygon
  fills are supported.
* The exporter creates a new SVG layer for every Freestyle line
  set. The different layers are correctly sorted.
* SVG paths use data from line styles, so the base color of a
  line style becomes the color of paths, idem for dashes and
  stroke thickness.
* Strokes can be split at invisible parts.  This functionality is
  useful when exporting for instance dashed lines or line styles
  with a Blue Print shader
* The exporter can be used not only in the Parameter Editor mode,
  but also from within style modules written for the Python
  Scripting mode.

Acknowledgements:
The author would like to thank Francesco Fantoni and Jarno
Leppänen for their [[ https://github.com/hvfrancesco/freestylesvg | Freestyle SVG exporter ]].

Differential revision: https://developer.blender.org/D785

Author: flokkievids (Folkert de Vries)

Reviewed by: kjym3 (Tamito Kajiyama)
2014-10-18 18:35:29 +09:00
Jens Verwiebe
4b42c4bce4 OSX/PLAYER/cmake: fix player install python bundling, overlloked player has its own PLAYER_TARGETDIR_VER 2014-10-17 22:16:59 +02:00
Campbell Barton
d74e3c44cc Fix for align bone to cursor (missing normalize) 2014-10-17 22:11:41 +02:00
Bastien Montagne
09351c68e1 Cleanup, since we don't put Cycles compat into regular bl_ui files. ;) 2014-10-17 21:07:21 +02:00
Dalai Felinto
7fb68cf83f Fix python module (bpy) compilation - broken since 8d084e8c
(reported on bf-python mailing-list and in my github (!), let's hope in
the future we get more reports in developer.blender.org instead ;))
2014-10-17 12:00:54 -03:00
Sergey Sharybin
ded2d8a777 Fix for pose bones not restoring selection index properly 2014-10-17 16:48:42 +02:00
Antony Riakiotakis
04fab84fd1 More fixes:
* Fill brush did not do proper srgb conversion for byte images (reported
by Sebastian Koenig, thanks!)
* Color sampling for palettes did not refresh the toolbar.
2014-10-17 14:25:50 +02:00
Antony Riakiotakis
33bff4caef Fix issue reported by Sebastian Koenig on irc, Clone brush would paint
trash with float images.

Issue is uninitialized alpha in the clone brush + a clamping issue for
float images. There's still some 'swimming' and brightness issue here
but I have to do work for the weekly, will investigate further later.
2014-10-17 14:11:13 +02:00
Antony Riakiotakis
c246499283 Fix typo 2014-10-17 12:37:50 +02:00
Sergey Sharybin
80a3f4fecf Cycles: Fix for possibly uninitialized variable
That's rather harmless in the master, just could cause some issues with the patches.
2014-10-17 10:57:19 +02:00
Lukas Tönne
49d49d2c84 Small fix for own commit, added new theme color defines but forgot to
actually use them, thanks to Kevin Dietrich for noticing.
2014-10-17 10:20:10 +02:00
Campbell Barton
13e9c44ce5 UI: disable area emboss when it's maximized 2014-10-17 00:12:31 +02:00
Campbell Barton
887da1345c Sequencer: jump now takes end-points into account
Useful because it's effectively the start-point for any strip which is obscured.
2014-10-16 23:59:59 +02:00
Thomas Dinges
b0ef008741 Different fix for T42262, we don't put Cycles compat into regular bl_ui files. 2014-10-16 23:27:38 +02:00
Campbell Barton
25d6479ffb Correct recent commit 2014-10-16 23:22:48 +02:00