Commit Graph

47594 Commits

Author SHA1 Message Date
Brecht Van Lommel
00140a8584 Fix #36892: crash running "Sample Color" operator from 3D viewport when the
sequencer contained any data. The sequence color sample operator was available
here when it shouldn't be.
2013-09-30 17:54:35 +00:00
Irie Shinsuke
aec7017211 Fix "Sample Color" not working in vertex paint mode.
The issue was discussed at blender.org forum:

http://www.blender.org/forum/viewtopic.php?t=28158
2013-09-30 16:18:56 +00:00
Brecht Van Lommel
06c6d3235c Fix #36884: blender spotlamp halo render was incorrectly showing light on the
backside of objects, after bugfix in revision 56145.

It now still always renders one step, but step size is clamped to fit within
the halo volume.
2013-09-30 15:27:45 +00:00
Dalai Felinto
414fadb192 changing shortcut to toggle Properties in text editor (ctrl+t) 2013-09-30 14:33:18 +00:00
Campbell Barton
4b8fee11b6 workaround for [#36314], ensure all id-properties are groups on load (which are expected to be groups). 2013-09-30 13:44:16 +00:00
Brecht Van Lommel
ae25238f41 Fix #36882: cycles gamma node not working with glsl materials. 2013-09-30 12:11:27 +00:00
Campbell Barton
78a8b2a883 add asserts for id property functions (ensure invalid types aren't passed) 2013-09-30 11:27:03 +00:00
Bastien Montagne
6e76152816 Fix [#36846] Adding a cloth sim to an object does not make it possible to go into Particle Mode for that object.
Softbody/cloth were not checked when building available modes enum.
2013-09-30 10:20:54 +00:00
Lukas Toenne
169b4e8118 Fix #36853, Undo not working for Particles Hair - Free Edit.
Resetting the particle system without losing edit undo is not so easy. Just added a confirm message for now to warn user about loss of particle edit undo.
2013-09-30 09:51:25 +00:00
Sergey Sharybin
2ddbb5d1e1 Fix for plane track jittering
Jittering was caused by homography not being estimated
accurate enough.

Before this, only algebraic estimation was used, which
is indeed not so much great, Now use algebraic estimation
followed with refinement step using Ceres minimizer.

The code was already there since keyframe selection patch,
made such estimation a generic function in multiview/ and
changed API for estimation in order to pass all additional
options via an options structure (the same way as it's
done fr Ceres).

This includes changes to both homography and fundamental
estimation.

TODO:
- Need to document Ceres functors better.
- Need to support homogeneous coordinates (currently
  only euclidean coords are supported).
2013-09-30 09:35:04 +00:00
Campbell Barton
61161bf869 fix for building with some configurations 2013-09-30 09:34:13 +00:00
Campbell Barton
b6ea073af2 more fixes relating to [#36878], freestyle was only checking for NULL linestyles in some places. 2013-09-30 09:28:43 +00:00
Campbell Barton
65233bc49e revert r36440, own commit, no longer needed because of changes to the keymap.
resolves [#36860] sampling color in face select mask
2013-09-30 09:04:17 +00:00
Campbell Barton
8064989e7b fix regression [#36878], missing NULL checks for linestyle. 2013-09-30 08:43:22 +00:00
Campbell Barton
be654aab58 fix [#36842] OpenGL Animation Playblast renders 1 too many frames 2013-09-30 08:21:12 +00:00
Campbell Barton
d6a52c67d5 fix [#36861] In face select masking circle select selects all when out of focus. 2013-09-30 07:58:38 +00:00
Campbell Barton
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
Bastien Montagne
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
Bastien Montagne
577e6e0290 Followup to r60416, we need to get cdlayers from bmesh everywhere! sorry... 2013-09-29 15:09:48 +00:00
Bastien Montagne
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
Bastien Montagne
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
Bastien Montagne
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
Thomas Dinges
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
Bastien Montagne
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
Bastien Montagne
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
Brecht Van Lommel
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
Dalai Felinto
9745d39eff blenderplayer stubs for WM_keymap_remove
(reported by Thomas Dinges on irc)
2013-09-27 16:58:34 +00:00
Campbell Barton
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
Campbell Barton
9aaeaae7e0 relating to [#36822], apply clamping to hard limits too 2013-09-27 11:06:33 +00:00
Thomas Dinges
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
Sergey Sharybin
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
Tamito Kajiyama
226d6fbfc5 Fix for the name of line style ID blocks, from "FreestyleLineStyle" to "Line Style". 2013-09-26 16:41:47 +00:00
Campbell Barton
f06b440d63 quiet warnings (converting pointer to boolean) 2013-09-26 10:35:41 +00:00
Irie Shinsuke
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
Brecht Van Lommel
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
Irie Shinsuke
e9859bb0e5 Don't install LICENSE-bmonofont-i18n.ttf.txt unless international fonts are enabled. 2013-09-25 19:18:28 +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
Antony Riakiotakis
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
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