Commit Graph

53000 Commits

Author SHA1 Message Date
Brecht Van Lommel
28dd9c6a40 Fix #35767: transforming nodes in the node editor changed the wireframe color
of the active object in the 3D view. This was due to sharing a global G.moving
flag to indicate that transform is active, now it's only set per transform data
type so different editors don't influence each other.
2013-06-24 22:41:37 +00:00
Brecht Van Lommel
02fbfa5c70 Fix unnecessary 3D viewport redraws in various cases, in particular when editing
node materials.

Area and region listener callbacks now get the screen and area pointers passed, so
they can do more fine grained checks to see if redraw is really needed, for example
depending on the 3D view drawtype.
2013-06-24 22:41:33 +00:00
Brecht Van Lommel
8390aa5181 Fix unnecessary redraw of 3D views when making changes in compositing nodes. 2013-06-24 22:41:27 +00:00
Brecht Van Lommel
0309f442bb Render stats text: show elapsed time for blender internal, hide useless "Single Layer"
at the start, more clearly indicate what the render time of the last frame was, some
other tweaks for consistency.
2013-06-24 22:41:24 +00:00
Daniel Stokes
898b49f753 Making sure free_nodesystem only frees non-NULL data. This helps address some problems in the BGE with loading multiple blendfiles. 2013-06-24 21:11:13 +00:00
Campbell Barton
f8c37b083c remove own optimization in scanfill, in rare cases it caused problems, reported as [#35861] 2013-06-24 18:22:59 +00:00
Campbell Barton
afb200f217 calculate polygon normals for BKE_mesh_recalc_tessellation() inline rather then using scanfills function. 2013-06-24 18:13:33 +00:00
Campbell Barton
294b49e312 fix [#35457] Mirror the U texture coordinate does not work in projection painting
regression since 2.61
2013-06-24 16:06:27 +00:00
Campbell Barton
ef64acf606 fix for editing lattice interpolation and options in editmode had no effect (exiting editmode would loose changes too). 2013-06-24 15:30:37 +00:00
Campbell Barton
5e72a211b5 remove unused c file 2013-06-24 15:13:51 +00:00
Campbell Barton
7f454c31f1 fix [#35844] "Blender User Preferences" window don't save size font 2013-06-24 15:06:14 +00:00
Brecht Van Lommel
553dd71efb Fix GLSL not showing shading properly on the backside of faces. Now it flips
the normal towards the viewer, seems to give consistent results with blender
internal, cycles, normal maps, etc.

Started from patch #32761 by Vitor Balbio, but changed it to do normal flipping
earlier so it solves all cases.
2013-06-24 13:46:34 +00:00
Campbell Barton
1a55b53375 lattice: use functions rather then defines, also added a function to get uvw from an index.
- BKE_lattice_index_from_uvw()
- BKE_lattice_index_to_uvw()
2013-06-24 13:45:35 +00:00
Gaia Clary
c42c9cb234 Added missing include to collada sources 2013-06-24 13:17:21 +00:00
Gaia Clary
960d2ec028 removed obsolete forward declaration 2013-06-24 13:04:58 +00:00
Sergey Sharybin
da97bfaee4 Merging r57629 through r57694 from trunk into soc-2013-depsgraph_mt 2013-06-24 12:30:05 +00:00
Bastien Montagne
d42204f962 Fix [#35790] Panel Section Arrows Wrong Theme Colors
Use TITLE color for the triangle and X (close) "icons" when used.
2013-06-24 12:18:28 +00:00
Joshua Leung
7e50f07e48 Bugfix: Bone Constraints tab used wrong icon after r57584 2013-06-24 11:44:07 +00:00
Mitchell Stokes
64007a94c0 BGE: Fix for [#30450] "F-Curve on bone not working" reported by HG1.
Run IPOs for all objects and not just non-armature objects.
2013-06-24 09:37:37 +00:00
Mitchell Stokes
c3d70a9baf BGE: Fix for [#34185] "billboard scale problem in groups" reported by Tobias Lijsen (blenderhilfe).
Use world scaling instead of local scaling when billboarding so we get all inherited scaling.
2013-06-24 08:26:05 +00:00
Campbell Barton
e02612c042 localview was clearing the source-view3d when duplicating
noticeable when splitting the view that the wrong viewport kept local-view layers.
2013-06-24 06:44:00 +00:00
Campbell Barton
d5aaf8141e fix [#35855] Change "Scene" crashes randomly 2013-06-24 06:08:47 +00:00
Campbell Barton
bfd0ceb4e0 fix own error with updating edge tagging (seams didnt work) 2013-06-24 05:26:42 +00:00
Campbell Barton
69d1e8187c make behavior for edge tagging more predictable.
last-picked edge is always selected+active.
2013-06-24 05:24:27 +00:00
Campbell Barton
781184562b add api calls for BM_mesh_active_vert/edge_get.
inspecting the edit-selection inline was cumbersome.
2013-06-24 04:51:56 +00:00
Campbell Barton
bc79e226ee de-duplicate ED_mesh_active_dvert_* functions.
not to devs - please don't just copy static functions around, make them api calls and add to headers.
2013-06-24 04:41:03 +00:00
Mitchell Stokes
dbec3af994 BGE: Fix for [#35737] "Action actuator in property mode don't work with values lower then 1" reported by HG1.
IPOs were only set as "initialized" if the current time was greater than 0.0, which is why negative values weren't working.
2013-06-24 04:24:01 +00:00
Daniel Stokes
23c0e0d996 BGE: fix [#35811] Blenderplayer crash on closing if file saved with an actual version.
Making sure free_nodesystem() is called before BLO_blendfiledata_free() fixes the problem. free_nodesystem() relies on blendfiledata.
2013-06-24 04:21:17 +00:00
Campbell Barton
423ee06625 use booleans for bpath api. 2013-06-24 03:06:32 +00:00
Campbell Barton
0f48028173 fix [#35825] "Find missing files" seems to search for files which are not missing
Made finding paths for files that exist optional (and off by default), since its handy for relocating projects.
2013-06-24 02:57:06 +00:00
Campbell Barton
8ce83150a7 remove unused var in view3d_panel_vgroup 2013-06-24 02:30:09 +00:00
Brecht Van Lommel
8acdc0515d Fix #35847: cycles group nodes did not work well exposing inputs like normal or
texture coordinate that should automatically use the default normal or texture
coordinate appropriate for that node, rather than some fixed value specified by
the user.
2013-06-23 19:24:32 +00:00
Gaia Clary
969a076b02 Changed text alignment to better match old layout behaviour 2013-06-23 18:21:26 +00:00
Thomas Dinges
00234dab2f Merged revision(s) 57587-57670 from trunk/blender into soc-2013-dingto 2013-06-23 18:04:13 +00:00
Gaia Clary
29ea84015c readded 'old' layout due to user complains 2013-06-23 18:00:14 +00:00
Gaia Clary
9b6f05e3ad Clarify tooltip for Weight paint tool 2013-06-23 17:27:50 +00:00
Campbell Barton
23c053748d add missing notifiers for mask tools, some wouldn't refresh the compositor. 2013-06-23 15:48:00 +00:00
Gaia Clary
70fd2320c8 Added polished Vertex Weights Panel (properties sidebar) 2013-06-23 15:37:08 +00:00
Campbell Barton
3a1082b359 tweak comparisons for connect pair in rare case the value == CONNECT_EPS. 2013-06-23 15:00:12 +00:00
Brecht Van Lommel
b9ffdb5cfd Workaround visual studio 2012 compiler bug compiling large RNA_blender_cpp.h, removed
the comments/descriptions for now to make it smaller. Maybe eventual solution would be
to split this up but for now it's not a public API yet anyway.
2013-06-23 13:59:06 +00:00
Brecht Van Lommel
4a34d86f32 Fix #35848: render crash in background mode due to missing G.main. 2013-06-23 13:58:59 +00:00
Campbell Barton
dc12dd23f6 fix for connect_pair cutting across triangle verts from edges. 2013-06-23 09:50:10 +00:00
Campbell Barton
adba695209 remove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3() 2013-06-22 23:58:52 +00:00
Campbell Barton
80ffe6f9b6 add strict conversion flags for mask_rasterize and reduce some signed/unsigned comparisons. 2013-06-22 23:37:45 +00:00
Campbell Barton
1a50be2d94 Make edgehash and ghash use the same limit for expanding buckets, r26206 changed ghash.
double checked and r26206 does indeed give a speedup, so change for edgehash too.
2013-06-22 22:30:56 +00:00
Campbell Barton
1fb980e7df reduce sign conversion comparisons for smallhash and tweak warnings elsewhere. 2013-06-22 20:20:06 +00:00
Dalai Felinto
d23bf09712 build fix for old gccs (after rev.57620)
enabling the new pragmas only when gcc >= 4.6
gcc 4.2.1 here (OSX)
2013-06-22 20:00:17 +00:00
Campbell Barton
e4bb913510 Extend existing editmesh connect tool so it can connect across multiple faces.
only use this when 2 vertices are selected, otherwise use the same behavior as before.

This works a little like a fast knife tool, but it only cuts straight lines and doesnt depend on the view-port.

Examples:
- http://www.graphicall.org/ftp/ideasman42/mesh_connect_pair.png
- http://www.graphicall.org/ftp/ideasman42/mesh_connect_pair_curve.png
2013-06-22 17:25:02 +00:00
Inês Almeida
5d28a6bb58 Minor code cleanup in 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp'.
Removed a function call with no effect and merged two other lines for legibility.
This commit was reviewed by Moguri.
2013-06-22 09:04:33 +00:00
Dalai Felinto
c72653cca0 BGE bugfix/patch "[#26075] game anaglyph colors are inverted" by Juha Maki-Kanto (kanttori)
Later I will try to find when this bug was introduced. But it's definitively broken in trunk.
2013-06-22 08:04:02 +00:00