Commit Graph

38791 Commits

Author SHA1 Message Date
8064989e7b fix regression [#36878], missing NULL checks for linestyle. 2013-09-30 08:43:22 +00:00
be654aab58 fix [#36842] OpenGL Animation Playblast renders 1 too many frames 2013-09-30 08:21:12 +00:00
d6a52c67d5 fix [#36861] In face select masking circle select selects all when out of focus. 2013-09-30 07:58:38 +00:00
b21b24573d lots of operator descriptions were incorrectly copy/pasted.
update some descriptions, others were removed and operators tagged as internal.

add a script to detect duplicate operator descriptions.
2013-09-30 05:50:41 +00:00
fd9cb5a59e Fix [#36859] Grease Pencil - Frames.new() doesn't create frame if frame_number <= 0
Related to [#36831] (r60412), RNA was still forbidding negative frame numbers...
2013-09-29 18:12:07 +00:00
577e6e0290 Followup to r60416, we need to get cdlayers from bmesh everywhere! sorry... 2013-09-29 15:09:48 +00:00
af915b443a Fix [#36847] If Force Field in Ridgid Body group, crash at first frame of animation on playback
Not all objects in RB group actually have a "rigid body object", needs to be checked.
2013-09-29 13:38:56 +00:00
4829cf9cd0 Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crash
Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.
2013-09-29 13:25:42 +00:00
8fa068d30a Fix [#36841] UV-Maps cannot be renamed in EditMode
Own error in r60260, in edit mode we need to use bmesh's cdata!
2013-09-29 06:47:07 +00:00
2acfd3f96a Fix [#36845] New generated blank image doesn't update preview (properties editor)
* IMAGE_OT_NEW did not had a notifier yet for some weird reason.
2013-09-28 20:04:49 +00:00
f18f2fbb33 Fix [#36831] Grease Pencil dont create a drawing in current frame less than 1
Only forbid negframes when user has not allowed them in whole Blender (userpref, editing). Else, it's more than annoying to not be able to draw negframed gpencil.
2013-09-28 19:28:41 +00:00
71958f0052 Fix [#36827] 2.69 bug with smoke domain, particle emitter and a force field causes a crash
fuel array might be null!
2013-09-28 05:06:02 +00:00
25509ba8af Fix #36826: make screencast with quicktime output gave black flickering areas.
Problem was OpenGL buffer alpha channel, it's not used in most places and so
not set to any meaningful value while drawing.
2013-09-27 20:29:07 +00:00
6c4c4f2bec replace ints with bools for keymap functions. 2013-09-27 14:27:01 +00:00
Dalai Felinto
c2afa5cfaf rna: implementing function to remove keymap from keyconfig
Thanks Campbell Barton for reviewing.
2013-09-27 14:05:07 +00:00
Lukas Toenne
640fc26c03 Fix #36630, Particlesystem - boids - goal - collision.
Problem was introduced with r54648, which determined the initial interval for the Newton-Raphson method using the "total_time" of the collision - but this info is only defined for regular collisions, not
for the raycasting used in boids to find the "ground object". To ensure correct behavior, now clear the collision info before using it (good practice in any case), then check the inv_total_time variable
and use the standard 0.001 step if not defined.
2013-09-27 13:45:47 +00:00
9aaeaae7e0 relating to [#36822], apply clamping to hard limits too 2013-09-27 11:06:33 +00:00
467e3005ed Fix for #36823, SSS node now displays a warning, that it does not work on the GPU. 2013-09-27 10:53:55 +00:00
dd02c2937a Made PIL_time_utildefines self-sufficient
Meaning it's enough to only include PIL_time_utildefines for
benchmarking, no need to worry about other header dependencies.
2013-09-26 21:27:23 +00:00
226d6fbfc5 Fix for the name of line style ID blocks, from "FreestyleLineStyle" to "Line Style". 2013-09-26 16:41:47 +00:00
f06b440d63 quiet warnings (converting pointer to boolean) 2013-09-26 10:35:41 +00:00
ef2e1edca0 Use the brush icon rather than the particle icon for ID-block type of Freestyle line style, though that's still workaround.
We need a proper icon representing Freestyle line style.
2013-09-26 07:55:55 +00:00
c3d3d8be36 Fix cycles issue with mapping node rotation and scale order. When using both
scale and rotation in mapping node, there would be shearing, and the only way
to avoid that was to add 2 mapping nodes. This is because to transform the
texture, the inverse transform needs to be done on the texture coordinate

Now the mapping node has Texture/Point/Vector/Normal types to transform the
vector for a particular purpose. Point is the existing behavior, Texture is
the new default that behaves more like you might expect.
2013-09-25 20:28:49 +00:00
8bbe81db4d knife was projecting vertex locations to the screen when it wasnt needed. 2013-09-25 11:38:30 +00:00
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
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
a5620a73b3 fix for crash freeing console history. 2013-09-24 17:11:55 +00:00
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
05c53918aa bmesh triangulate: skip intersection checks for degenerate geometry and just triangulate on a fixed loop. 2013-09-24 12:45:14 +00:00
fa16aeed2d postpone crazy-space changes until next release, causes issues with extrude which need further fixes. 2013-09-24 12:43:25 +00:00
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
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
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
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
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
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
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
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
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
6619d6cba7 Fix potential usage of wrong track when setting axis for scene orientation 2013-09-23 08:04:55 +00:00
771e607e82 Fix [#36791]: Fire ignores force fields when smoke is set to 0.0 2013-09-22 16:09:31 +00:00
aa8488421f style cleanup: whitespace & odd indentation 2013-09-21 10:46:58 +00:00
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
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
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
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
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
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
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