Commit Graph

28789 Commits

Author SHA1 Message Date
Sergey Sharybin
29f0ff718b Reverting changes made to build systems when was upgrading OpenAL.
Reverting to openal from creative because own builds doesn't deal with 3D sound.
Hopefully it wouldn't lead to crashes caused by ffmpeg+openal (for resolving which
libraries were updated to openal-soft).
2012-02-17 16:58:34 +00:00
Sergey Sharybin
e8a1daaf9b Drag-n-drop support on Linux
This commit implements drag-n-drop support from external applications into Blender.
Used xdnd implementation from Paul Sheer.
2012-02-17 16:58:09 +00:00
Bastien Montagne
7c15fb4f2c Minor fixes found while working on keyingsets. 2012-02-17 16:34:28 +00:00
Sergey Sharybin
8f97f3ed29 Fix #25649: Image editor paint icon missing until enter weight paint
Issue was caused by starting Icon Preview render job from two places:
- Texture buttons for small icon preview
- Properties panel in image editor for large icon of texture

This preview job is starting in suspended mode and if new instance of the same job is
starting, suspended job will be totally stopped. This is normally for cases when you're
changing different settings -- in this case you'd wouldn't want re-render be triggered
on every slide change.
But what we've have with brush preview is that two instances of this job were creating for
large and small icon separately, but because of described policy only one icon was rendered.

If suspended job is getting to be stopped, check if it was started for the same icon
resolution and if not, that resolution will be also rendered in new job.
So it'll be still minimal re-rendering happens, but in cases when job was started from
two places for different icon sizes it'll work just fine.
2012-02-17 16:06:32 +00:00
Bastien Montagne
b7f3887a3a fa_PE is no valid language code (how comes no one noted that yet?), fa_IR seems the right one!
Else, persian was just unavailable on Linux (at least, on Debian...).
2012-02-17 12:27:58 +00:00
Sergey Sharybin
071706e48f Missed this changes needed to fully support animation data in movie clips.
Thanks to Joshua pointed into missed changes!
2012-02-17 10:54:21 +00:00
Sergey Sharybin
ed3b7e2c23 Camera tracking: configurable filter type for 2d stabilization
--
svn merge -r44151:44152 ^/branches/soc-2011-tomato
2012-02-17 08:27:19 +00:00
Sergey Sharybin
fdeca277fd Camera tracking: run aspect correction before stabilizing shot
This commit fixes image stopped being an orthogonal rectangle because of horizontal
scaling caused by pixel aspect ratio happening after rotating image which used to
make orthogonal angles from footage not actually orthogonal.

--
svn merge -r44150:44151 ^/branches/soc-2011-tomato
2012-02-17 08:23:42 +00:00
Sergey Sharybin
0cc2966516 Camera tracking: fixed issue when track used for rotation stabilization points to a freed memory after re-tracking this track.
--
svn merge -r44148:44149 ^/branches/soc-2011-tomato
2012-02-17 08:20:21 +00:00
Sergey Sharybin
026bbecb8f Camera tracking: fixed default value for pixel aspect which wasn't 1.0
--
svn merge -r44147:44148 ^/branches/soc-2011-tomato
2012-02-17 08:19:14 +00:00
Sergey Sharybin
781b4cafbd Camera tracking: fixed incorrect auto-scale calculation for 2d stabilization
--
svn merge -r44146:44147 ^/branches/soc-2011-tomato
2012-02-17 08:17:46 +00:00
Sergey Sharybin
b83577aaec Camera tracking: fix for missing cache invalidation when disabling/enabling channels for stabilized shot
--
svn merge -r44140:44141 ^/branches/soc-2011-tomato
2012-02-17 08:16:29 +00:00
Sergey Sharybin
9d0b7b168f Camera tracking: animation datablock for MovieClip
Added AnimData block to MovieClip datablock which allows to animate different properties in clip.
Currently supports animation of stabilization influence only.

--
svn merge -r44129:44130 ^/branches/soc-2011-tomato
2012-02-17 08:13:45 +00:00
Sergey Sharybin
5fd24dc3f2 Build proxy from meta and image strips used resolution used for display,
not set by building job which leads to unusable proxies.

This change should resolve issues reported in #30229: Sequencer Meta strip Proxy Fails
and probably #30196 will work nicer too.
2012-02-17 07:32:18 +00:00
Sergey Sharybin
283ab431a5 Cleanup of 3D viewport header in painting modes:
- Hide Manipulate center points in sculpt and particle edit modes
- Hide 3D manipulators and orientation from sculpt mode
- Hide snap buttons in sculpt, weight, texture, vertex and particle painting modes

All this options weren't make sense in this modes and might only confuse user.

This will resolve issue #30180: 3D View header buttons and modes
2012-02-17 06:59:32 +00:00
Thomas Dinges
a56eeb7024 Release Cycle for 2.63:
* BCon1, alpha.
2012-02-16 20:04:33 +00:00
Sergey Sharybin
eb44d1d0e8 Typo in previous own commit. 2012-02-16 15:55:23 +00:00
Sergey Sharybin
251822126c Clear PROP_TRANSLATE flag for Macro Operator's bl_label as well. 2012-02-16 15:53:44 +00:00
Sergey Sharybin
ec7498ce0b Reverting changes in commit r43458.
That was intended change to clear PROP_TRANSLATE flag from bl_label property of
operators, panels and menus (see rev40570)

If this flag leads to another issues it should be fixed in another way.

This fixes #30210: International Font Problem
2012-02-16 15:53:30 +00:00
Sergey Sharybin
62d09c9103 Tomato: configurable filter type for 2d stabilization 2012-02-16 15:03:37 +00:00
Sergey Sharybin
14a92fc3a2 Tomato: run aspect correction before stabilizing shot. 2012-02-16 15:03:18 +00:00
Sergey Sharybin
aa747f5889 Tomato: fixed issue when track used for rotation stabilization points to a freed memory after re-tracking this track. 2012-02-16 13:15:01 +00:00
Sergey Sharybin
7274bea74d Tomato: fixed default value for pixel aspect. 2012-02-16 13:14:49 +00:00
Sergey Sharybin
fedb95da23 Tomato: fixed incorrect auto-scale calculation for 2d stabilization 2012-02-16 13:14:28 +00:00
Jens Verwiebe
42e50719df ffmpeg: take back 44142, conditional was wrong 2012-02-16 11:52:02 +00:00
Jens Verwiebe
f047d90a0e ffmpeg: only suppress loopfilter for .mov ( compatibility ), but keep for .avi (quality ) 2012-02-16 08:48:28 +00:00
Sergey Sharybin
da69173269 Tomato: fix for missing cache invalidation when disabling/enabling channels for stabilized shot 2012-02-16 07:45:01 +00:00
Sergey Sharybin
b5628b45ff Merging r44129 through r44139 from trunk into soc-2011-tomato 2012-02-16 07:11:50 +00:00
Campbell Barton
30dddb9840 fix for replacing a generated image with a file, the image would stay generated.
not a show-stopper but confusing.
2012-02-16 04:21:40 +00:00
Dalai Felinto
93526b4c72 readfile update after version/subversion bump
Note, there is no need to leave doversion code outside a version/subversion nest.
e.g. having if version < 262   in a 2.61 file will make the code to double-run.
however this is the same case for the code nested outside the if versions ...
with the advantage of making ahoys/version bumping easier.

Ton himself was unaware of how we were doing this and suggested to get rid of the /* put subversion code here */ practise.
2012-02-15 18:17:31 +00:00
Sergey Sharybin
9251d64e2b Tomato: fixed incorrect behavior of textures buffer used in MCE together with 2d stabilization. 2012-02-15 18:11:10 +00:00
Thomas Dinges
048ede5080 Set BLENDER_VERSION_CYCLE to release. 2012-02-15 17:19:26 +00:00
Ton Roosendaal
18371f792d The traditional release commit, 2.62!
Special thanks to splash committee:
Kevin Hays, Per Gantelius and Wray Bowling.

Splash by Alexey Lugovoy.
2012-02-15 16:44:44 +00:00
Sergey Sharybin
bd249c3bff Camera tracking: animation datablock for MovieClip
Added AnimData block to MovieClip datablock which allows to animate different
properties in clip. Currently supports animation of stabilization influence only.
2012-02-15 16:06:48 +00:00
Sergey Sharybin
7985ae700c Merging r44109 through r44128 from trunk into soc-2011-tomato 2012-02-15 16:04:57 +00:00
Sergey Sharybin
47d1c813d0 FFmpeg settings can't be animated. Clear animation flag to prevent confusing
warnings appear on the screen.
2012-02-15 14:05:28 +00:00
Sergey Sharybin
9d32f5dcd6 Movie clip: comment what magic constant 768 means in DNA structure 2012-02-15 13:41:33 +00:00
Sergey Sharybin
3ac1ad5378 CMake: determine if python should be bundled into "lib" or "lib64" folder.
Needed to deal with OS like openSUSE where Python is installed to /usr/lib64
and don't work if it's getting bundled into <blender_version>/python/lib.

Thanks to Campbell to making this patch cleaner :)
2012-02-15 08:53:28 +00:00
Dalai Felinto
91058355cc font objects in blenderplayer fail when object with alpha is rendered
the embed bge has its own DisableForText() routine which prepares the GL flags for the text render.

For some reason blenderplayer is taking a slim approach and going straight for the rendering. This routine helps to address this bug/case (non reported, foundin my own project files). If need arises we should move this to its own routine incorporating the other GL tests the embed bge performs.
2012-02-14 18:23:58 +00:00
Sergey Sharybin
5bff557744 Camera tracking: corrected default values for some reconstruction-related properties. 2012-02-14 17:03:06 +00:00
Sergey Sharybin
4eb006f6f5 Merging r44070 through r44108 from trunk into soc-2011-tomato 2012-02-14 15:19:49 +00:00
Antony Riakiotakis
40e2942f25 Fix related to #30152, rainbow colours produced when loading hdr image to 3D viewport/ the Nyan cat bug.
Issue is caused by scaling for power of 2 dimensions and mipmapping that happens through GLU. It looks like the library cannot handle float colour values above 1.0 correctly. Since we are close to release I will just clamp the srgb result for now even though it will result in a small performance loss for 16 bit textures only. 

I tried a few things before that, glGenerateMipmaps + no scaling (supported for 2.0 GL hardware and up), or using our own scaling instead of glu among them which worked very nicely and gave a speedup too. However, since we are close to release and there may be issues with GPU mipmap generation, see:

http://www.gamedev.net/topic/495747-another-glgeneratemipmap-question/
(old discussion but better be sure than sorry)

I went for the most compatible solution. Maybe after release this can be tested if other devs agree.
2012-02-14 13:25:23 +00:00
Jens Verwiebe
2cf28ab2bc ffmpeg: don't use flags:loop for .h264, this allows to see the video in OSX quickview and Quicktimeplayer( windows ? ) 2012-02-14 12:24:17 +00:00
Mitchell Stokes
6905d0d92b Fixing up some buggy cleanup code in BL_ShapeDeformer. This code was causing crashes and corrupting shape keys. This commit fixes the following bugs:
[#30059] Shape Keys is gone in Blender if you use Add Object Actuator in BGE
[#30024] Segmentation fault after addObject when using shape keys
[#28683] segfault in shapekey conversion code when running a game (YF, level home) twice
2012-02-14 07:54:12 +00:00
Brecht Van Lommel
873386b22d Fix #30170: with file saved in texture painting mode, when going to object mode
the image texture is missing. The flag to indicate that the mipmap levels were
already loaded into GPU memory was incorrectly set then.
2012-02-13 21:12:14 +00:00
Brecht Van Lommel
19ff61bfb3 Fix #30155: crash with popup menu open while new .blend file is loaded,
CTX_wm_window is then set to NULL and checked in the event queue, but it
should be checked for removing handlers too.
2012-02-13 21:05:04 +00:00
Campbell Barton
a53237f193 use tabs for indentation 2012-02-13 20:54:36 +00:00
Brecht Van Lommel
0fbff1be3e Fix quicktime export being broken in various ways: callback was missing
parameter, codec RNA wrapping was wrong, and there was a python script error.
2012-02-13 20:47:29 +00:00
Jens Verwiebe
62fa555b8e OSX: let almost all animation imports handle by ffmpeg now, this is faster in many cases 2012-02-13 19:00:02 +00:00
Joerg Mueller
2f516f46da Fix for [#27349] Sequencer: Meta Strips plays unavailable audio
Hopefully at least... Sequencer code is like <insert name of random ancient language that nobody knows anymore here>.
2012-02-13 17:31:33 +00:00