Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
46b807b231 fix [#37072] Crash on RMB click on bone's custom property 2013-10-14 19:53:28 +00:00
Brecht Van Lommel
c0d204b91e Fix Brush datablock writing MTex blocks to .blend files twice.
Patch by Janis Streib.
2013-10-14 19:37:15 +00:00
Brecht Van Lommel
95812e1cfc Fix cycles textured draw mode problem with objects that have an image texture
but not UV coordinates, it would show a different color with the object selected
and deselected.
2013-10-14 19:37:12 +00:00
Thomas Dinges
c72b4016d0 * Improved Tooltip for Particle Brownian property, patch by Jonathan Williamson. Thanks! 2013-10-14 16:38:47 +00:00
Sergey Sharybin
e3e21a2683 Fix #37043: bpy.ops.sequencer.rebuild_proxy() don't release memory 2013-10-14 15:56:48 +00:00
Jens Verwiebe
ac9f3e33d5 OSX/fs_menue: change the availability macros, so ppl could still compile on 10.5 by just also using 10.4 code then 2013-10-14 15:37:16 +00:00
Sergey Sharybin
bca37c29d8 FIx #37005: Mask tool + "Area" Brush Mapping + "Anchored" Stroke = crash
Was caused by area normal calvultion using undo nodes to get coords
from and undo nodes does not contain coords whe using mask tool.
2013-10-14 11:42:36 +00:00
Campbell Barton
a00c693f99 note in bisect tooltip that you need to click-drag the plane. 2013-10-14 08:45:43 +00:00
Campbell Barton
3cfd933d94 code cleanup: correct unsigned int in string formatting and use empty() checks for vectors. 2013-10-14 08:23:57 +00:00
Lukas Toenne
a90b8ebe48 Fix for crash from double-freeing in nodes:
The way node groups check for localized trees in the ntreeFreeTree_ex function does not work. When the main library is freed on exit it also frees genuine node groups trees (which is correct), but then
node groups referencing these trees will not find them in the library and interpret that as a localized group, attempting to free them a second time ... Nicer solution is to just use a special flag on
localized node trees so we can clearly distinguish them from genuine trees in main.
2013-10-14 08:03:55 +00:00
Lukas Toenne
dfea1dd0d7 Fix #37057, Detach (Alt + D) doesn't work in nodes editor / compositor.
The operator exits early when there are no internal links. This prevents it from removing links which have no internal connection.
2013-10-14 08:03:53 +00:00
Campbell Barton
52296b941e code cleanup: remove duplicate assignments 2013-10-14 07:15:59 +00:00
Campbell Barton
78de5efec1 fix for array index use before checking range 2013-10-14 07:10:38 +00:00
Thomas Dinges
6e86760de2 Interface / Template lists:
* Make the gap for the filtering options slightly bigger, so 1 row doesn't look so cluttered.
* Default Render Layer and Particle System list in the Properties Editor to 1 row as well, to save space.
2013-10-13 23:04:39 +00:00
Thomas Dinges
014318370d * Silence Blender Internal / Volumetric printf. 2013-10-13 22:33:30 +00:00
Sergey Sharybin
ee63ef7af1 Project Pampa request: option to lock frame selection to the range
This means when you've got "Lock Frame Selection" option (which is
in the timeline next to the preview range button) you're not able
to go to the frames which are out of current frame range with your
mouse.

TODO: Make it so current frame slider also respects this setting?
      Not so much important for tonight.
2013-10-13 20:46:02 +00:00
Jens Verwiebe
98d66aeb97 OSX: comment cleanup 2013-10-13 18:51:21 +00:00
Jens Verwiebe
6d54ff5d83 OSX: Final cleanup for #60729 2013-10-13 18:14:38 +00:00
Jens Verwiebe
30d03e12bc OSX: Get mounted volumes better method by using volume enums 2013-10-13 17:12:36 +00:00
Thomas Dinges
cb0c279d4d * Fix scons compilation on Windows, missing pthreads include. 2013-10-13 09:27:48 +00:00
Dalai Felinto
54be5f2cf5 fix [#37058] 2.69 RC1: Symmetrize directions are all reverse 2013-10-13 05:45:29 +00:00
Campbell Barton
cbba50a3a1 fix for over-alloc in dyntopo, was allocating the vertex size, not pointer size (~85% wasted space). 2013-10-13 05:13:38 +00:00
Dalai Felinto
b20d3bab80 fix [#37046] Dissolve edges and vertices problem with triangulate
with review and collaboration from Campbell Barton
2013-10-13 05:04:06 +00:00
Campbell Barton
b00a8122e3 improve warp transform so it can be used as a general bending tool too. 2013-10-13 01:09:23 +00:00
Campbell Barton
eabf7ab335 code cleanup: utility function for getting a bool as a string. 2013-10-13 00:32:31 +00:00
Dalai Felinto
3a63adb5ff fix [#37034] Triangulate modifier asserts with GHASH_FLAG_ALLOW_DUPES 2013-10-13 00:30:49 +00:00
Dalai Felinto
7c2fae19b4 cmake/openimageio - partially reverting #60692
We now have openimageio building when cycles builds or when it's
manually set to build.

(I reverted the _IMAGE_ in the define name because I think the closer
the cmake flags match the defines in the software the better, and there
is no reason to rename all the existent WITH_OPENIMAGEIO references in
CMakeLists.txt - which would be the alternative)
2013-10-12 23:56:21 +00:00
Campbell Barton
2ce3bd0d67 code cleanup: use more obvious assignments for transform snapping angles. 2013-10-12 22:31:02 +00:00
Campbell Barton
3e79a0a5e0 fix for possible eyedropper NULL pointer use. 2013-10-12 18:11:54 +00:00
Sergey Sharybin
d06bc34088 Fix for prefetch not working correct if last frame was loaded 2013-10-12 14:47:04 +00:00
Sergey Sharybin
d7983e3638 Option to overlay mask over the footage
Currently supports only two modes:
- Show alpha channel of the mask
- Multiply footage by the mask, which will give
  you final-looking combined image.

TODO: Currently rasterization happens on every
      redraw, need to cache rasterized mask
      somewhere to make redraw more realtime.
2013-10-12 14:09:05 +00:00
Sergey Sharybin
f0dcff9aa9 Task scheduler ported form CYcles to C
Replaces ThreadedWorker and is gonna to be used
for threaded object update in the future and
some more upcoming changes.

But in general, it's to be used for any task
based subsystem in Blender.

Originally written by Brecht, with some fixes
and tweaks by self.
2013-10-12 14:08:59 +00:00
Brecht Van Lommel
1a3011ac83 Fix #37045: blender internal SSS rendering black on some system when the SSS
reflection color was set to 1 1 1. BSSRDF parameter fit not converging properly
due to float precision issues.
2013-10-12 13:44:40 +00:00
Brecht Van Lommel
6d9ccbc28d Further tweak for dual quaternion armature deform problem, tweak the epsilon
value to solve some more cases.
2013-10-12 12:54:09 +00:00
Bastien Montagne
11f0e35236 Revert both own r60700 and r60702. API behavior for expanded enums is completly inconsistent, but again, better to do such changes (soft-breaking API) in bulk... 2013-10-12 11:28:37 +00:00
Lukas Toenne
e192f5b198 Fix #37047, Expanded Enum Alignment glitching.
The enum item buttons in the node header change their alignr when switching the tree type, due to different things being shown in the header (this rarely happens in other panels, so it doesn't turn
up easily). The new alignnr needs to be copied to existing block buttons in ui_but_update_from_old_block to ensure the enum items get aligned to each other.
2013-10-12 11:05:12 +00:00
Bastien Montagne
c7109b152e Followup to own r60700, fix was not correct... In fact, beahivor of expanded enums is not consistent with other properties, as there labels are never shown. Keep it for now, though, as this would break many scripts and ui file, better to do this in bulk!
Thanks to DingTo and plasmasolutions for notifying the issue.
2013-10-12 11:03:32 +00:00
Bastien Montagne
b2d3b0244a Fix obvious error in expanded enum layout code, given uiname would never be use... 2013-10-12 09:43:57 +00:00
Irie Shinsuke
6caacff196 More fixes for PSD support in SCons scirpts... 2013-10-12 06:11:26 +00:00
Campbell Barton
7998b2f6a7 transform - use 2d float's for the viewport center (allows for vector math functions to be used more easily). 2013-10-12 03:42:06 +00:00
Campbell Barton
b6db417ee4 code cleanup: use const's for vector args. 2013-10-12 02:19:37 +00:00
Brecht Van Lommel
744f691af4 Fix dual quaternion armature deform giving erratic results in some cases. Bug
was encountered in a Kiribati rig file.

The problem was actually in the matrix to quaternion conversion function. One
problem is that it was using the wrong matrix indices in case of an ill defined
matrix trace. Besides that FLT_EPSILON was too small to detect cases where
float precision becomes a problem.
2013-10-12 00:08:34 +00:00
Brecht Van Lommel
3127952259 Fix crash running Blender in background mode, caused by revision 60633. 2013-10-12 00:08:33 +00:00
Irie Shinsuke
90cd0a37a9 Fix build scripts related to PSD support. Both CMake and SCons builds were broken. 2013-10-11 23:14:01 +00:00
Jens Verwiebe
356de10534 scons: fix WITH_PSD compiling, still i think muddled naming is used here, todo: cleanup 2013-10-11 21:37:25 +00:00
Irie Shinsuke
b83f755542 Fix [#37049] Default keybindings: Text editor auto-complete accepts Return, but not Numpad Enter 2013-10-11 19:44:56 +00:00
Dalai Felinto
6549c1bf29 scons file for OIIO (needed for psd)
based on patch by Shinsuke Irie

note: scons is not working for me at the moment so I did not test this
patch. It should work fine though.
2013-10-11 16:38:31 +00:00
Dalai Felinto
029f4b9767 adding WITH_IMAGE_OPENIMAGEIO and removing the PSD build option
As per Brecht van Lommel's suggestion.
2013-10-11 16:38:04 +00:00
Bastien Montagne
76c94972da Fix [#37039] Resize lists by new grab handles puts file into unsaved state.
Simply do not enable undo for LISTBOX buttons (the same as ROUNDBOX & co). Many thanks to Campbell who did all the work here!
2013-10-11 12:50:19 +00:00
Antony Riakiotakis
31d492815e Fix #36905: backport of fix in soc-2013-paint. This commit ensures that during color sampling the cursor of the current brush is disabled. This avoids sampling of the brush cursor for really small brushes. Only caveat is that if operator exec is called then cursor might be visible in new sample location. This is not so common though. 2013-10-11 02:23:20 +00:00