Commit Graph

39606 Commits

Author SHA1 Message Date
Joshua Leung
f3a4eab751 jpbouza Feature Request: Transformation Constraint now allows applies rotation
offsets too (like for location)

This is useful in some cases when Copy Rotation constraints would otherwise be
used for this purpose but cannot be used for various reasons. Basically, this
works in practically the same way that the Copy Rotation offsets work, including
the same weirdness that you'll get when trying to manually rotate these in the
3D viewport using "global" space manipulations ("local/normal" spaces though
still seem to work really nicely).

WARNING: this may potentially break old files with transform constraint setups
involving rotation outputs. Please check whether this causes any problems on old
files, and report back if there are any issues.
2013-06-09 12:30:13 +00:00
Joshua Leung
79ef7169e9 Bugfix [#35686] Grease pencil to curve conversion causes NAN weights on vertices
When you convert a grease pencil stroke to a polygon curve and look at the
vertices, the first and last vertex have weight = 0, but all others have a -NaN
value. This was caused by division by zero issues when minmax_weights[0] ==
minmax_weights[1].
2013-06-09 12:05:29 +00:00
Brecht Van Lommel
0f4e775689 Fix #35677, #35525: cycles viewport not updating properly in some situations.
Revision 56883 broke a mechanism where cycles tags itself to be updated later
while it is busy.
2013-06-09 11:57:50 +00:00
Campbell Barton
820acf1b9e add editmode wire color,
also changed lattice to use this, it used a hard-coded green color which was hard to see over the default background.
2013-06-08 21:58:00 +00:00
Monique Dewanchand
603289ffb2 Fix for bug [#35400] Dilate Erode Feather Bug - feathering wraps around image 2013-06-08 19:56:11 +00:00
Brecht Van Lommel
8421bc8573 Fix #35671: automatic armature weights assignment crashed with an empty mesh. 2013-06-08 17:56:45 +00:00
Thomas Dinges
fe326a8140 UI / Modifiers:
* VERTEX_WEIGHT modifiers had quite a messy UI, improved the grouping of options a bit, so it is easier to scan through.
* Do not use abbreviations like "Rem" or "Dist" in the UI...

* Also small change for BEVEL modifier UI for more efficient space usage.
2013-06-08 16:06:39 +00:00
Campbell Barton
c423e3ed8f code cleanup: warn undefined compiler defines. 2013-06-08 05:24:55 +00:00
Nicholas Rishel
d25c46642f Code cleanup:
Comment no longer relevant as UI button exists to create a new directory.
2013-06-08 05:24:08 +00:00
Nicholas Rishel
e34c63267c Maps back and forward history to back and forward buttons on a 5 button mouse. 2013-06-08 05:23:47 +00:00
Ton Roosendaal
c24be7ec6e Usablity:
Textbuttons: double click now selects entire words (like on file path segements)
Triple click was requested too, but that's not a WM event type yet.
2013-06-07 15:42:26 +00:00
Campbell Barton
94e886943b add support for storing text styles in themes.
also reset text styles when resetting to the default theme.
2013-06-07 00:27:21 +00:00
Campbell Barton
5c685b7f99 change to r57261, replace BLI_cleanup_dir with BLI_split_dir_part 2013-06-06 23:58:30 +00:00
Gaia Clary
b0a9b44240 Reverted unwanted checkin of work in progres from my previews commit 2013-06-06 22:25:20 +00:00
Gaia Clary
a06aed3a91 Renamed Panel to 'Vertex Weights' (describe its functionality more precise) 2013-06-06 22:05:48 +00:00
Campbell Barton
9b5be450d8 text rendering: shadow offset was causing text to clip, now check for clipping without the shadow since not-drawing characters because of subtle effect is rather annoying. 2013-06-06 21:43:52 +00:00
Campbell Barton
5ed9ede71c fix for copy/paste error in scaling text by DPI, vertical shadow offset wasn't working for panel text. 2013-06-06 20:44:48 +00:00
Campbell Barton
df32165002 code cleanup: use more standard names for userpref ui functions was using context for style vars. 2013-06-06 20:36:28 +00:00
Campbell Barton
9695a50ec4 fix [#35650] parented camera behavior
fly mode with parenting was broken for both locked/unlocked parent mode.
2013-06-06 19:04:56 +00:00
Antony Riakiotakis
ab87d4daec Fix #35651, #35645.
Hidden faces do not get UvElements generated so essentially this caused
a null point reference on edge lookup.
2013-06-06 14:06:12 +00:00
Campbell Barton
a6b505ef0b style cleanup 2013-06-06 06:02:46 +00:00
Campbell Barton
0a361247ff fix [#35646] Image offset value in empty image display mode should be unitless 2013-06-06 05:48:16 +00:00
Nicholas Rishel
ed010927c1 Merge branch 'FIX_Previous_Folder' into trunk 2013-06-06 02:13:56 +00:00
Campbell Barton
4835f63be2 fix issue with new bridge tool interpolation [#35636] 2013-06-05 21:31:01 +00:00
Lukas Toenne
71758cb5d7 Fix for frame node property display: Extended frame node properties such as the "shrink" option were not shown in the node editor sidebar. This was because the RNA type for the node was not using
NodeInternal as a base, which is a wrapper to expose the C callbacks as methods in bpy. Now these basic node types are also based on NodeInternal to ensure the full interface is available to py scripts.

In the process removed the unused NodeGroup register function, this doesn't work nicely anyway because it requires multiple inheritance which RNA doesn't support (so py node groups should be done
entirely in python in the future).
2013-06-05 20:10:15 +00:00
Lukas Toenne
ad09731c30 Removed the "Make Local?" popup from group node edit operator on linked node groups. This is no longer necessary since we can now quite safely display linked node trees in general (this check was already
meaningless for material node trees and the like as demonstrated by bug #35640, so rather pointless).
2013-06-05 19:28:59 +00:00
Lukas Toenne
22a29e906f Fix for own mistake in r57252, needs to unset id.lib of the newly copied tree instead of the old one. 2013-06-05 19:28:58 +00:00
Campbell Barton
8a5e3a8425 fix [#35628] Dynamic paint waves over ocean modifier doesn't work
Caused by my recent normal calculation changes, added dependsOnNormals callback which was missing for ocean modifier (it assumed input normals were set).
2013-06-05 19:22:12 +00:00
Lukas Toenne
f681ce08c4 Fix #35640, part 2. Check id.lib in poll functions for operators which do critical modification of node trees (create nodes, link, etc.). Transform operators and hide/show type operators are still
allowed, this does not modify actual behavior of the nodes and can be useful for inspecting linked nodes.
2013-06-05 19:06:33 +00:00
Lukas Toenne
4c2a51e1f9 Fix #35640, part 1. Set the id.lib pointer for nested bNodeTree data blocks inside material, scene, etc. on lib_link, so that the UI buttons get disabled when editing linked node trees. Thanks to Brecht
van Lommel for suggesting this fix.
2013-06-05 19:06:27 +00:00
Brecht Van Lommel
f18fad668f Fix textured draw mode + dyntopo crash fix to cover more cases. 2013-06-05 15:54:41 +00:00
Brecht Van Lommel
e66f3eb499 Cycles: GLSL materials now can use multiple UV maps with the attribute node. 2013-06-05 15:54:39 +00:00
Antony Riakiotakis
aa96f0290a Obsessive Null Checking Compulsion case:
Textured draw mode + DynTopo crashed after recent specularity tweak.
2013-06-05 09:10:56 +00:00
Lukas Toenne
4d53729ab9 Fix #35625, crash with NULL pointer after node render. Happens when node group node_tree pointer is NULL, then the group node doesn not produce any execdata and needs to check this accordingly in the
freeexec callback.
2013-06-05 08:23:44 +00:00
Campbell Barton
5f0731dc8d add option to remove all shape keys at once (access from shape key menu on panel).
Without this there was no easy way to get a WYSIWYG copy of a mesh that had shape keys,
since removing them would adjust the mesh.
2013-06-05 06:34:18 +00:00
Campbell Barton
666c8b51ca changes to mirror tools
- give feedback on how many mirror verts succeed/fail (for select mirror, shape key mirror, weight mirror)
... when a mirror failed it was confusing and not obvious what was going on.

- slight change to select mirror, now center vertices will remain selected.

- speedup to EDBM_verts_mirror_cache_begin, cache customdata layer offset.
2013-06-05 05:58:51 +00:00
Campbell Barton
e03bbcec65 fix [#35453] "copy mirrored uv coords" doesn't work
- made precision configurable.
- report a warning when doubles are found since they cause problems.

added Polygon.center attribute to avoid calculating in python.
2013-06-05 03:10:29 +00:00
Gaia Clary
6d9fcdf983 Added 'clear active group' to object data properties -> Vertex Groups -> pulldown menu 2013-06-04 22:30:41 +00:00
Campbell Barton
2230794e73 yet another check for missing vertex groups needed (for 'Select/Deselect') 2013-06-04 21:54:16 +00:00
Campbell Barton
98d3278189 fix [#35629] Incorrect Rendered Viewport Horizontal Splitting
previously the order didnt matter but with viewport render, its noticable.
2013-06-04 21:23:32 +00:00
Campbell Barton
c89c716e84 fix [#35613] Dopesheet, Graph Editor Trouble Selecting Channels 2013-06-04 20:26:58 +00:00
Campbell Barton
c630435b3c fix own error with removing vertex weights not checking for non-existing weights.
however this exposed some other odd behavior.

removing a vertex group would add one if not found but only for meshes, not lattices.

now just skip removal if not found.
2013-06-04 19:37:18 +00:00
Campbell Barton
d1e78aa75d fix for own error in recent bridge changes, make sure normals are calculated before use. 2013-06-04 17:46:19 +00:00
Brecht Van Lommel
4a7f37f6ed Fix #35602: VBO + dynamic topology sculpt did not show specularity. 2013-06-04 17:10:57 +00:00
Brecht Van Lommel
855cfc210e Fix #35622: applying modifiers did not give correct smooth shading normals
after recent changes to avoid computing unneeded normals.
2013-06-04 16:02:54 +00:00
Brecht Van Lommel
d7bba8bc8b Fix #35623: separate mesh operator did not redraw the outliner. 2013-06-04 15:56:14 +00:00
Brecht Van Lommel
9fca5f47bc Fix #35617: cycles GLSL object texture coordinates were wrong. 2013-06-04 15:49:34 +00:00
Brecht Van Lommel
601e5ad2f4 Fix #35624: rendering to a new window, then switching scene in the main window,
would still continue to render the previous scene in the render window on F12.
2013-06-04 15:36:00 +00:00
Campbell Barton
ec2c6038ee use vla's if supported as replacement to BLI_array in subsurf code. 2013-06-04 07:41:21 +00:00
Campbell Barton
84a651c7fa reduce signed/unsigned conversion in subsurf. 2013-06-04 06:40:35 +00:00