Commit Graph

50137 Commits

Author SHA1 Message Date
Shinsuke Irie e9859bb0e5 Don't install LICENSE-bmonofont-i18n.ttf.txt unless international fonts are enabled. 2013-09-25 19:18:28 +00:00
Campbell Barton c4bad6868f cmake - cached LLVM values would be overwritten on every execution. 2013-09-25 17:04:01 +00:00
Campbell Barton 124f32a206 rename LLVM_LIB_DIR to LLVM_LIBPATH to match other cmake vars. 2013-09-25 16:31:54 +00:00
Campbell Barton 8bbe81db4d knife was projecting vertex locations to the screen when it wasnt needed. 2013-09-25 11:38:30 +00:00
Campbell Barton 3c05662f5e fix error where BKE_mesh_cd_validate layer renaming would use invalid index values. from r60260
also correct some comments.
2013-09-25 11:11:41 +00:00
Sergey Sharybin 8917e63134 Add font licenses to installation files
So now release archive will have this files included.
2013-09-25 08:35:43 +00:00
Campbell Barton 8c7eb60ba0 fix [#36780] Knife Project broken
was regression in r59665 (fix for [#35002]).

now when checking a segment that lies on the same plane as the triangle intersects,
clip the segment by the triangle bounds so we know the points remain inside the triangle.
2013-09-25 08:23:31 +00:00
Campbell Barton a5620a73b3 fix for crash freeing console history. 2013-09-24 17:11:55 +00:00
Antonis Ryakiotakis 00745a572b Fix #36695, brushes would behave differently in scaled objects (tested
by applying scale). It looks that only layer brush needs this
correction.
2013-09-24 15:17:57 +00:00
Dalai Felinto a5c4faef62 CMake: BOOST is a dependency of OpenImageIO 2013-09-24 15:16:46 +00:00
Campbell Barton 05c53918aa bmesh triangulate: skip intersection checks for degenerate geometry and just triangulate on a fixed loop. 2013-09-24 12:45:14 +00:00
Campbell Barton fa16aeed2d postpone crazy-space changes until next release, causes issues with extrude which need further fixes. 2013-09-24 12:43:25 +00:00
Campbell Barton c037e766fa fix [#36781] triangulation modifer creases
new geometry was initializing its original index to 0 (so all edges displayed with the first edges crease value).
now initialize to NONE.
2013-09-24 03:58:19 +00:00
Campbell Barton 5342d57a5e allocate bmesh data from known sizes where possible (was still using defaults in places),
add macros for initializing BMAllocTemplate's, also add assert on invalid use of bmesh_sfme()
2013-09-24 03:31:00 +00:00
Campbell Barton 464e9b8777 add back crazy space check to only initialize a vertex once. (changed in r60146 caused bug [#36803]) 2013-09-24 02:16:52 +00:00
Campbell Barton 9794c70f65 modifiers_isCorrectableDeformed now checks a modifier is enabled before returning true,
also check deformMatricesEM callback for modifier_isCorrectableDeformed() rather then checking modifier types.
2013-09-24 00:56:47 +00:00
Brecht Van Lommel 74828cc609 Fix #36783: click outside splash screen to close it would not highlight the
button under the mouse, and so clicking the button failed without first
moving the mouse. Similar issues could happen with popups and switching
windows.

The problem is that a notifier was being used to deactivate possible other
activated buttons, but as notifiers are delayed it could undo the correct
activation too. If anyone notices hanging tooltips or other issues after this
fix, please report them.
2013-09-23 23:31:42 +00:00
Brecht Van Lommel fb591ea913 Fix #36793: missing update on undo with proxy object that is not using a proxy group. 2013-09-23 21:55:56 +00:00
Brecht Van Lommel fc2dbc20ff Fix #36800: closing render window during render crashes, the operator would be
cancelled before the job, causing invalid access to op->reports in the job thread.
2013-09-23 19:35:21 +00:00
Brecht Van Lommel eaf354e222 Fix related to #36319: restore SDL_VIDEODRIVER=dummy environment variable, it
seems that somehow not having this is causing keyboard events to be caught by
SDL. This was removed because it broke addons that could use SDL, now set the
environment variable only temporary during SDL initialization.

This may have been causing issues with keyboard events getting missed in the
game engine, but I couldn't confirm the issue here.
2013-09-23 14:48:28 +00:00
Dalai Felinto 97cb65df52 typos on error messages in CMake 2013-09-23 13:21:27 +00:00
Brecht Van Lommel 0d524d1809 Further fix for #36382: bake buttons for linked objects could be grayed out
when they shouldn't be.
2013-09-23 12:14:06 +00:00
Lukas Toenne d4c67adb5a Minor cleanup for own commit, removed unused line. 2013-09-23 08:57:46 +00:00
Lukas Toenne a18d89e14f Fix #36790, OSL point parameters of shader nodes not initialized correctly from UI inputs.
normal and point parameter types of OSL shaders are creating SOCK_VECTOR sockets in the script node. When these sockets are in turn used to define the fixed input values for these parameters they get
converted as OSL vector always, losing the distinction of vector/normal/point. To prevent OSL rejecting the value due to type mismatch, explicitly define the parameter defaults in the OSL script node
compiler function as vector, normal and point (unused types will simply be ignored).
2013-09-23 08:57:02 +00:00
Lukas Toenne 826a7db5c0 Fix #36797 make linked node groups local does not work. Node tree library functions where missing the ntreeMakeLocal entry, was still marked as 'not implemented'. 2013-09-23 08:20:16 +00:00
Sergey Sharybin 6619d6cba7 Fix potential usage of wrong track when setting axis for scene orientation 2013-09-23 08:04:55 +00:00
Miika Hamalainen 771e607e82 Fix [#36791]: Fire ignores force fields when smoke is set to 0.0 2013-09-22 16:09:31 +00:00
Campbell Barton aa8488421f style cleanup: whitespace & odd indentation 2013-09-21 10:46:58 +00:00
Bastien Montagne 752c1a8214 Fix [#36788] changing the built in keying set prints "attempt to free NULL pointer" to console. 2013-09-21 07:37:11 +00:00
Dalai Felinto 1ce98989e5 bugfix: [#36786] customdata layers are not merging taken the names into consideration
(which is also "[#36749] Joining objects with more than one uv map depends on list order")

Thanks Bastien Montagne and Brecht van Lommel for reviewing and some advice.
2013-09-21 05:42:34 +00:00
jens verwiebe 50fbb6c07e OSX/scons: fix linking errors due bf_intern_ghostndof3dconnexion was build even if no 3Dmouseware was detected 2013-09-20 18:52:39 +00:00
Dalai Felinto aff71ea2d5 Text Editor: 'Find' (in the Edit menu) was pointing to the wrong operator 2013-09-20 18:47:12 +00:00
Dalai Felinto aa70879df4 bugfix [#36724] Ctrl+F in text editor opens Toolbar, but no longer closes it
(added Ctrl+P as a toggle to show Properties)
2013-09-20 18:36:49 +00:00
Sergey Sharybin 97ee8b2b98 Mark Mesh->tface as DNA_DEPRECATED
It already had deprecated comment, but now it also uses
compiler flag just to be sure no one uses this guy.
2013-09-20 13:22:45 +00:00
Howard Trickey 95bfe69704 Let vertex bevel work on boundary verts of polys.
Suggestion by Jonathan Williamson, and thanks to
Walid Shouman for noticing that the existing code
worked if a test to prohibit it were removed.

Limitation: treats segments > 1 the same as
segments == 1 in this case; a TODO to do
something more intelligent.
2013-09-20 12:50:34 +00:00
Andrea Weikert cdc2cf4fd3 FIX: [#27536] GLSL object space normal maps have wrong shading
Added object and world space for normal map in GLSL view.
2013-09-20 11:55:43 +00:00
Bastien Montagne 2cca73eeb1 Fix [#36759] UV Project - Specified UV Map doesnt work properly
In fact, the issue was that names of mloopuv/mtespoly layers could very easily get out of sync (a simple rename was enough), while most tools (such as the UVProject modifier) expect matching layers to have the same name!

Now matching names are check on load, and renaming of a layer through RNA is guaranted to be synchronized with its counterparts.

Thanks to Brecht & Campbell for reviews.
2013-09-20 11:14:08 +00:00
Sergey Sharybin 6ca12765e3 Images didn't get clear when using multires baker from python script
Seems to be a regression since BMesh merge.
2013-09-20 10:14:58 +00:00
Sergey Sharybin 7617eadae4 Clear color to gray when baking displacement map
This makes more sense to have no displacement if baking
non-normalized displacement map or have mid-level displacement
(which is likely be close to no displacement as well) when
baking normalized displacement.

In any way it's better than using default black color.
2013-09-20 10:14:54 +00:00
Sergey Sharybin 556fa5e205 Fix for margin which didn't work properly with normalized displacement baking 2013-09-20 09:28:58 +00:00
Sergey Sharybin aa077fecd7 Fix for displacement bake buffer might be allocated twice
Issue was caused by missing NULL-pointer check in user-data
initialization.

This issue might have lead to wrong displacement map being
baked.
2013-09-20 09:28:52 +00:00
Lukas Toenne 37b82a2d26 Fix #36226, Select Linked works not in touch with Prefs.
When setting keymap properties to values equalling the RNA default, they will
get "unset" and automatic operator behavior is used. There is no way to
explicitly set the default value as a user.

1) To allow distinguishing uninitialized (not set) properties in the keymap
items, a few changes to the RNA struct comparison function are needed: Instead
of allowing only strict/non-strict comparison of 2 properties A and B in a
struct, this now has 3 modes:
* STRICT: compare only the actual property values (same as 'strict' before)
* UNSET_MATCH_ANY: if either A or B is unset, consider them a match (same as
non-strict before)
* UNSET_MATCH_NONE: if one property is set and the other not, consider them a
mismatch.

The new UNSET_MATCH_NONE mode is useful for keymaps, because it allows keeping
user-defined property values in the keymap even if they match the default
property value (see wm_keymap_diff function in wm_keymap.c)

2) A new operator is added for unsetting ID properties in the RMB context menu
and in user preferences next to keymap properties. This only works on ID
properties and deletes the ID property storage, so that the default value is used.

In the user preferences for keymaps the properties are shown in an inactive
layout to indicate that the default value is used (which some operators such as
the "select linked" op from the report use to trigger automatic behavior). When
the user sets a property it gets set and stays that way until explicitly "unset"
using the new operator.
2013-09-20 09:10:17 +00:00
Campbell Barton 203c6effd5 code cleanup: quiet rna warnings, remove remove_strict_flags() for cmake/rna.
also set_source_files_properties() wasn't working for rna_*_gen.c files,
set dna.c and generated data files with generated property too.
2013-09-20 06:35:28 +00:00
Campbell Barton 24b4304334 fix for nla-strip-path function not returning an allocated pointer and new mask function ignoring the name argument from RNA-api. 2013-09-20 06:23:09 +00:00
Campbell Barton e9bcb8f518 remove unused modifier argument from ParticleSystem.co_hair 2013-09-20 06:20:07 +00:00
Campbell Barton 00c308893a fix [#36777] uv_on_emmiter make Blender crash 2013-09-20 05:30:37 +00:00
Campbell Barton d783cbbd84 replace VIEW3D_OP_OFS_LOCK_TEST() macro with static function view3d_operator_offset_lock_check() 2013-09-20 01:43:06 +00:00
Campbell Barton 9d8a6b493b fix [#36773] Dolly breaks in quad view
more of a usability issue then a bug, now dolly switches out of camera view, like view-rotate does.
2013-09-20 01:24:00 +00:00
Thomas Dinges 83efcb2d05 Release cycle / 2.69:
* Update links to release logs, now pointing at http://www.blender.org/development/release-logs/blender-269
* Update readme, also remove FreeBSD from it, we don't have official releases for that anymore.
2013-09-20 00:48:03 +00:00
Thomas Dinges 9a348c354a * Style cleanup / Cycles. 2013-09-19 23:54:16 +00:00