Commit Graph

31612 Commits

Author SHA1 Message Date
Campbell Barton
f9d07ff3ee style cleanup: animation + buttons 2012-05-08 15:30:00 +00:00
Lukas Toenne
817d308803 Fix #31350, by Sergey Sharybin.
This happens because of how output node index is initializing in assign_index function: itterator goes to the beginning of the nodes list using node->prev and then reviews the whole node list to find first unused index. The problem is that node's initialization now is getting called before node was added to node tree, so all output nodes have got equal index.
2012-05-08 15:14:59 +00:00
Lukas Toenne
e20bff4b60 Fix #31363. Group interface sockets don't have a parent node, so the API function has to check that before making the update call. 2012-05-08 14:58:59 +00:00
Campbell Barton
6f20ef6d87 optimize ngon angle calculation in solidify modifier (was doing prev/next vector subtract and normalize for every vertex). now store the previous normalized vector for re-use.
also add BKE_mesh_poly_calc_angles() which is mostly a reference for now.
2012-05-08 14:58:38 +00:00
Campbell Barton
d7bc2c7f06 style cleanup: misc editor changes. 2012-05-08 11:48:19 +00:00
Campbell Barton
17c48e711e style cleanup: editcurve 2012-05-08 11:42:29 +00:00
Daniel Genrich
7a95d4333a Fix reseting of particle lifetime and unborn feature when adding smoke - reported by blendernation 2012-05-08 11:39:32 +00:00
Sv. Lockal
ba7d24559d fix for own mistake for ctrl+left/right movement and code cleanup for txt_jump_left/right 2012-05-08 11:18:20 +00:00
Campbell Barton
7a4ad3aaae style cleanup: seqeffects 2012-05-08 09:31:25 +00:00
Sergey Sharybin
670916dbff Fix #31332: VSE drag and drop onto timeline buggy 2012-05-08 09:10:58 +00:00
Sergey Sharybin
673e26196f Fix #31344: MovieClip python custom properties are reset when reopen the file 2012-05-08 07:31:02 +00:00
Brecht Van Lommel
e6a84eb1b5 Cycles: add light falloff node, with quadratic/linear/constant falloff and a
smoothing factor to reduce high values near the light.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Falloff

Note that this was already possible to do manually with the Ray Length, but
this adds a convenient node for it. This commit also makes the mapping node
min/max option work, fixing #31348.
2012-05-07 20:24:38 +00:00
Gaia Clary
f44e80e638 Collada: patch #31331: added missing call to BKE_mesh_tessface_ensure() when 'apply Modifiers' was NOT selected 2012-05-07 19:08:01 +00:00
Campbell Barton
e5faeab5d6 style cleanup: avi 2012-05-07 18:30:04 +00:00
Campbell Barton
a314b70930 fix [#31354] Segfault with "Extrude Individual Faces and Move" 2012-05-07 18:12:31 +00:00
Gaia Clary
98ba7dfecf Collada: patch #31331: Implementation of 'Apply Modifiers' 2012-05-07 18:09:59 +00:00
Campbell Barton
353ef9541a fix [#31347] solidify modifier > even thickness parameter weired 2012-05-07 18:07:34 +00:00
Campbell Barton
d5b53420f6 style cleanup: outliner 2012-05-07 17:56:30 +00:00
Bastien Montagne
4bbcb7714e Some misc fixes to UI messages... 2012-05-07 15:50:57 +00:00
Campbell Barton
6291b36d4c fix for solidify modifier angle calculation (was incorrectly using normalized angle function) 2012-05-07 15:45:41 +00:00
Sergey Sharybin
69fc654f94 Style cleanup: change ffmpeg, avi and frame server api to rna-ish naming style 2012-05-07 09:30:15 +00:00
Sergey Sharybin
2b53595ad6 Woops, some unwanted spaces remained in source files. 2012-05-07 08:55:29 +00:00
Sergey Sharybin
c79892c5cd Style cleanup of own modules using style checker from Campbell. 2012-05-07 08:53:59 +00:00
Sergey Sharybin
3ef11693f5 Style cleanup: displist module 2012-05-07 06:58:03 +00:00
Sergey Sharybin
c7b20e79cd Style cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term in Blender 2012-05-07 06:38:41 +00:00
Sergey Sharybin
d881f9225c Style cleanup in readfile versioning files 2012-05-07 06:32:14 +00:00
Nicholas Bishop
a8e8775cb8 Code cleanup: make changes suggested by check_style for sculpt-related files. 2012-05-06 22:12:26 +00:00
Campbell Barton
32ba51c4a1 fix for limited dissolve (after sine intended fixes - not cleaning up before vertex dissolve would skip dissolving some verts that should be dissolved).
now do this:
- edge dissolve
- cleanup (removing edges left over from dissolving faces)
  cleanup removes verts and NULL vertex input array
- dissolve verts which haven't been removed.
2012-05-06 18:37:08 +00:00
Campbell Barton
3d9d26d6bf fix [#31197] Limited dissolve leaves faces/edges/verts behind
bad bug where vertices could be in a face more then once (which isn't allowed), now check for this when creating a face.
2012-05-06 18:04:37 +00:00
Campbell Barton
ffed654ff2 style cleanup: blenkernel 2012-05-06 17:22:54 +00:00
Bastien Montagne
1118b3fe3f Mesh elements sorting refactor.
Now only one operator. Same options for vertices, edges and faces (so adds edges sorting, and some options to vertices sorting).

Face sorting should behave as previously. However, XSortVerts won’t pack anymore selected vertices at the begining of the vert array (as it used to), if you want such behavior you’ll have to first run SortElements with Selected action.

Also added bug ref I forgot in r46354 (armature.c).
2012-05-06 17:14:56 +00:00
Campbell Barton
9e3523b556 code cleanup: documentation commit 2012-05-06 16:28:52 +00:00
Bastien Montagne
a058ac9c50 Fix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature edit mode
There is no real good solution to this problem, hopefully this threshold value will be a good compromize this time... :(
2012-05-06 15:40:49 +00:00
Campbell Barton
c93d7a193a style cleanup: BKE_*.c files which deal with library functions 2012-05-06 15:15:33 +00:00
Bastien Montagne
53b221960a Last part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Only remaining undocumented one is IMAGE_OT_record_composite (not sure what it actually does, nor even whether it’s actually working or not...).

Note that I didn’t bother with operators flagged as OPTYPE_INTERNAL!
2012-05-06 15:03:31 +00:00
Campbell Barton
3d8e58751c style cleanup: modifiers 2012-05-06 13:38:33 +00:00
Campbell Barton
900c8a9154 fix for same bug as r46346, incorrect code was copied. 2012-05-06 13:00:56 +00:00
Campbell Barton
71028de93b fix for error in MOD_weightvgmix.c caused by confusion without braces.
CustomData_add_layer_named would run even when the dvert layer was found.
2012-05-06 12:52:42 +00:00
Joshua Leung
eae05ff541 Bugfix [#31003] Animation data (e.g. actions, drivers) from the active material
of a material nodetree was not visible in the Animation Editors
2012-05-06 12:37:19 +00:00
Campbell Barton
e17a708dce add back pose specials menu, also add back the ability to clear user transforms on all bones (not just selected - mango request - was possible in 2.4x).
- rename only_select op property to only_selected (both were used).
- only do mingw workaround when building with FREE_WINDOWS defined.
2012-05-06 12:13:45 +00:00
Joshua Leung
1755dc7477 Bugfix [#31330] Shape Key Editor does not switch to assigned Key Action 2012-05-06 09:41:38 +00:00
Joshua Leung
6f09dffa36 Bugfix:
While testing the other my previous commit (removing deformflag stuff), I
noticed that trying to change set a parent object for the current object (via
the Object Properties) would cause the current object to "blow up", and for
cyclic dependency warnings to be spewed to the console.

Adding a dummy usage of one of the vars here seems to solve it. Perhaps a case
of weirdo compiler optimisations?
2012-05-06 05:03:58 +00:00
Joshua Leung
364388b9f2 Removing the old armature 'deform' settings (use vertex groups/envelopes/quats).
As far as I could tell, these were really only still used for "virtual
modifiers", though we really don't use these anymore. Instead, most of the time,
people need to set these settings in armature modifiers directly (these didn't
even get copied over in that case). This was a source of confusion and
redundancy, so removing these now.

This change can be reverted if these were actually of some use out there...
2012-05-06 04:50:04 +00:00
Joshua Leung
5d02292d3c Bugfixes for Motion Path drawing/updating in light of the recent changes:
* Added proper "update" operators in place of the abuse of the calculate
operators, so now the display ranges won't get overwritten everytime (with the
default values) you go to update the paths.

* Display range settings in properties editor now actually work. Before, the "In
Range" mode only displayed the entire paths.
2012-05-06 04:18:13 +00:00
Joshua Leung
7c58e6a9f2 Simplifying constraints code - removed relink_data() callbacks in favour of a
more generic system which goes through id_looper(), reducing the maintainance
burden for new constraint authors
2012-05-06 01:27:48 +00:00
Joshua Leung
2554a67889 Deleting action constraints (and a few others) now adjusts the usercounts of
their referenced data correctly
2012-05-06 01:03:51 +00:00
Campbell Barton
c91cee2bb9 code cleanup: naming - BKE_mesh_* 2012-05-05 21:28:12 +00:00
Brecht Van Lommel
c53fe94bb4 Fix #31318: cycles preview missing update for other materials using same node
group with certain operations.
2012-05-05 19:44:28 +00:00
Bastien Montagne
fef40eda72 Fix related to [#31157]: Tips (descriptions) of macro operators were not set into underlying RNA struct, hence did not show up in UI. 2012-05-05 19:26:53 +00:00
Sergey Sharybin
1c90c495c0 - Fixed issue with printing file version triple times when loading file in debug mode
- Remove commented out headers from versioning module
2012-05-05 17:25:58 +00:00