Commit Graph

28629 Commits

Author SHA1 Message Date
Sergey Sharybin
ed0d2b5e92 Fix #30028: VSE Paste Strip Crash
Crash was caused by attempting to create strip text from a missed sound datablock.
Actual error happened when this sound datablock was missed, but crash isn't nice
anyway and there were no way to repair scene.
2012-02-01 08:35:16 +00:00
Lukas Toenne
3866712248 Enable image and alpha outputs for image nodes by default. These were made unavailable for render layer nodes with the Combined pass disabled, but the same function also disabled them for image nodes. Fix for bug #30040. 2012-02-01 07:44:19 +00:00
Campbell Barton
bcd84ec107 fix [#29433] Incorrect drawing of Circle/Axes/Cross on Particles when Display set to that AND Size/Vel/Num/Health also selected 2012-02-01 06:26:48 +00:00
Campbell Barton
a834007a9b Previous fix for [#29484] wasn't working right (did work in report file though).
this now shares code with RNA's 'pchan.matrix = matrix'

tested with parent scale/rot/translation
2012-02-01 05:59:50 +00:00
Campbell Barton
7836069775 fix [#29484] Visual keying bone with local location disabled 2012-02-01 05:04:51 +00:00
Campbell Barton
14fa3be9bf fix for error found while looking into bug [#29998].
rotation limits can exceed 90deg.
2012-02-01 04:11:19 +00:00
Andrew Hale
40f1686f47 Fixes to Python matrices str function.
1) The width of columns was incorrectly determined on windows, fixed by increasing the size of the dummy buf.
2) Added additional brackets to string for consistent formatting
2012-02-01 01:42:36 +00:00
Antony Riakiotakis
6f46692e76 Fix bicubic map sampling to convert the sampled color to monochrome before using it to calculate the derivative. 2012-01-31 22:12:33 +00:00
Campbell Barton
ac07669900 remove old code and use macro for latt_bp() function 2012-01-31 21:56:22 +00:00
Campbell Barton
2050ab09a5 calc_curve_deform was using axis range of 1-6, but other parts of the code use 0-5. (confusion here casued an error in the code).
make calc_curve_deform use 0-5 too, only minor changes needed.
2012-01-31 21:32:06 +00:00
Campbell Barton
888187fa8c fix incorrect neg axis check for the curve deform modifier's boundbox. 2012-01-31 21:20:30 +00:00
Campbell Barton
820bb6e148 fix [#30037] Curve Modifier doesn't work within -X -Y -Z translation in such cases?
the curve modifier was applying the offet between the mesh and the curve object twice.
for positive axis it was (offset+offser), for neg axis (offset-offset) --- giving no offset,
in both cases not very useful.
2012-01-31 21:06:52 +00:00
Campbell Barton
199efda34e fix inconsistancy with curve deform bounds being set differently when vertex groups were used. 2012-01-31 20:48:48 +00:00
Campbell Barton
8a0a0e3a74 minor cleanup made while looking into bug report (having vector size in comments is silly, may as well have in declaration) 2012-01-31 20:38:03 +00:00
Sergey Sharybin
db79c8b01e Implemented general functions to store view context like viewport width/height
and projection matrix, so operators which depends on such things can easily save
settings in operator properties in invoke and then reuse them in exec callback.

This will fix: #24767: Knife tool last operations panel doesn't cause changes even though F6 pop-up does.
               #27129: Problem with knife cuts/midpoint type in quad view

Usage is pretty simple:
- From operator template declaration function call ED_view3d_operator_properties_viewmat()
  to register all needed properties in operator.
- From invoke callback call ED_view3d_operator_properties_viewmat_set to
  store all needed settings in operator properties().
- To access this settings from exec callback, use function
  ED_view3d_operator_properties_viewmat_get().

Additional change:
added function apply_project_float() which does the same as
project_float() but accepts actual values for viewport width/height and
projection matrix.
2012-01-31 18:33:31 +00:00
Campbell Barton
23db21e2c1 fix own error [#29634] 'Find Missing Files' breaks good links 2012-01-31 18:00:41 +00:00
Sergey Sharybin
58646f10a1 Hide internal property of knife_cut operator 2012-01-31 16:24:02 +00:00
Sergey Sharybin
e76a87c0b2 Fix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters if zoomed small
Now fonts in popup lists will also be scaled together with panel from which they're displaying.
2012-01-31 15:59:52 +00:00
Sergey Sharybin
f07f59c760 Cache limiter will now work properly with limits >= 4Gb 2012-01-31 11:11:56 +00:00
Campbell Barton
54dc5f1654 apply back changes made since moving this file. 2012-01-31 05:02:24 +00:00
Campbell Barton
427cde6f16 svn cp \
https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/python/generic/noise_py_api.c@r42248 \
 https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/python/mathutils/mathutils_noise.c
2012-01-31 04:59:57 +00:00
Campbell Barton
b42feff554 previous move lost history on this file, restoring next commit. 2012-01-31 04:58:06 +00:00
Nathan Vegdahl
67dca2275e Action constraint transform channel was listing X Scale as Z Scale,
resulting in two Z Scale listings in the menu.  Fixed.
2012-01-31 04:23:49 +00:00
Campbell Barton
528e001121 fix [#30025] Blender crash when using python to load a blend file and import an obj file 2012-01-31 03:54:51 +00:00
Sergey Sharybin
101a287040 Fix #30031: Build modifier crashes when applied to bezier object
Just missed check for modifier type.
2012-01-30 20:44:08 +00:00
Sergey Sharybin
33faf0286d Fix #30030: Tapered and beveled text won't update in realtime
Was missed dependency in depsgraph.
2012-01-30 19:55:30 +00:00
Brecht Van Lommel
40beecea8f Fix #30026: errors rendering material with ambient 0 and AO/env/indirect light.
It would skip rendering the latter if ambient was 0, however this is not actually
used in adding the contribution from these.
2012-01-30 19:47:30 +00:00
Sergey Sharybin
8ec8aaf77f Fix #30019: Copy rotation from a vertex group
It was incorrect behavior of contarget_get_mesh_mat in cases when
object's Y axis is co-linear to average vertex group normal.
Use object's X axis for plane definition in such cases.
2012-01-30 19:46:15 +00:00
Brecht Van Lommel
e5587217d5 Fix #30016: cycles crash with compute device set to GPU but not GPU device
available.
2012-01-30 15:33:28 +00:00
Brecht Van Lommel
2a614b04c1 Fix #28733, #29885: fix missing scene in context in python. The window manager
would indirectly clear it when clearing the window from the context. This makes
some sense when we support multiple scenes properly, but currently there's still
many places assuming there is a single active scene, so keep it available to
avoid crashes.
2012-01-30 15:12:51 +00:00
Campbell Barton
4f38c52200 file selector - entering and empty path on *nix would ask to create a new dir. 2012-01-30 10:04:27 +00:00
Campbell Barton
68a8efa8d3 display keyblock mute in the shape key list.
Realize this is bcon3 but this is was very bad IMHO.
- button adjusting key block was in between 2 object settings - which is misleading/confusing.
- you needed to click through all shapes to check which was muted, currently you's assume 1.0 means the shape is enabled.
2012-01-30 09:49:30 +00:00
Sergey Sharybin
b410d06dde Fix #29976: Carve Boolenas crasher with Solidify
Issue was caused by union policy needed to deal with cases when operand intersects
two or more intersecting meshes of another operand.

Changed this policy to run union operation only if there's actual intersection
between two meshes of the same object. Should work in general but it's still
possible to make it behave incorrect -- for example object consist of two groups
if concentric cubes which intersects each other.
2012-01-30 09:19:38 +00:00
Sergey Sharybin
942413bdb2 Fix #30021: Crash happens when rotating markers 2012-01-30 09:10:58 +00:00
Sergey Sharybin
e86c5f858c Fix #30020: Movie Clip Editor Crashed with panel size changed 2012-01-30 09:05:26 +00:00
Lukas Toenne
a4603667b8 Removed check for active node in edited node group to allow node group editing toggle. This enables closing an empty node group again (after removing all nodes or when empty group is added via menu). Fix for bug #30018. 2012-01-30 09:00:54 +00:00
Lukas Toenne
28b72d09e5 Make Image and Alpha outputs in render layer node 'unavailable' when the Combined pass is not active in the render layer. Fix for bug #29999.
The internal code for render layers node is unchanged, since the buffer is created anyway. Also noticed that, while unavailable sockets and links to/from them are not displayed, they are still used in execution, which could lead to unexpected results. But that's a more general problem with the way (pseudo-)dynamic sockets are simply flagged with SOCK_UNAVAIL.
2012-01-30 08:48:11 +00:00
Dalai Felinto
359917fb2b pydoc cleanup + remove unused bge.logic constants
+ adding PINGPONG as action actuator constant in rst
2012-01-30 06:47:01 +00:00
Sergey Sharybin
b820ec4ae4 Fixed for cloth modifier when it's applied after deformation modifier. 2012-01-29 16:55:57 +00:00
Thomas Dinges
d4584dfd23 Fix for [#30015] Keyframed Resolution Unpredictable
* Disabled possibility to keyframe render resolution, percentage and border render properties. Animating them does not makes much sense. Discussed with Sergey in IRC.
2012-01-29 10:21:28 +00:00
Thomas Dinges
b86c6f65a4 Release cycle:
* Moving on to BCon3: Beta.
2012-01-28 13:53:17 +00:00
Sergey Sharybin
8369706c15 Fixed typo in a tooltip 2012-01-28 08:45:51 +00:00
Miika Hamalainen
d7b9fdc2f6 Dynamic Paint:
* Fix: Brush didn't paint particles that were hidden by the display percentage setting.
2012-01-27 17:44:56 +00:00
Sergey Sharybin
6da44f9042 Always assume isFinalCals is truth when applying constructive modifiers on curves
for viewport display.

It saves plenty of memory when using subsurf modifier which result is getting
converted from CCGDM to CDDM without any benefit. It also syncs behavior of
modifiers with mesh.

Need to keep an eye on constructive modifiers when in edit mode.

Discovered this when was looking into #29973.
2012-01-27 14:17:59 +00:00
Nicholas Bishop
82300fabb9 Minor fix for CD_TYPE_AS_MASK macro: shift operator uses the left
operand's type for the result, so cast 1 to CustomDataMask.
2012-01-27 08:15:30 +00:00
Sergey Sharybin
b35446c3fa Fix #30000: Boolean modifier messing up multi material
Issue was caused by resetting face's mat_nr to zero if there's no material
map sent to ConvertCSGDescriptorsToDerivedMesh. In case of boolean modifier
we can't use such map because we can't affect on materials present in object.

So the only way which can give reasonable result is:
- Dot change mat_nr for faces from left operand (they should be fine, because
  materials aren't deleting by modifier)
- For faces from right operand check if needed material exists in left operand
  and if so, use it's index as new mat_nr.
- If there are materials in right operand which doesn't exist in left operand,
  they'll be changed to first material from left operand.
2012-01-27 08:04:03 +00:00
Nathan Letwory
959f2624ca Fix [#29884] Splash screen only displays "r43"
Based on patch by perfection cat

Removed the unnecessary char * juggling.
2012-01-27 07:35:57 +00:00
Joshua Leung
0c7a455c07 Action Constraint GUI - Refinements and Clarification
While looking at a bug report, I found that the current GUI for the Action
Constraint actually didn't make sense, mixing up settings so that it wasn't
clear which settings corresponded to which others. This commit cleans up the
layout into a clearer two-column design to have a "from" -> "to" layout, making
all the
relationships between things clear.

For more details see http://aligorith.blogspot.com/2012/01/action-constraint-
gui-revised.html
2012-01-27 01:30:58 +00:00
Sv. Lockal
4514a4455b Fix orthogonality check for mat3 and mat4 2012-01-26 17:11:43 +00:00
Sergey Sharybin
5d49eff25a Fix #29957: Texture "Generate" mapping work as global with cloth modifier
Make Cloth modifier deformation only so now it applies on orco dm properly.
2012-01-26 17:03:30 +00:00