Campbell Barton
94cb20ff4e
when setting the subframe for large frames (250,000+) the precision was very poor.
...
now use double precision when combining the frame+subframe.
2013-06-16 04:06:38 +00:00
Campbell Barton
d63045d977
don't show the 3d view transform panel when theres no active object.
2013-06-16 03:31:15 +00:00
Tamito Kajiyama
bc9121f627
Fix for Freestyle face marks incorrectly reset when feature edges are split at 2D intersections.
...
Problem report by an anonymous forum user with a .blend file for reproducing the bug, thanks!
2013-06-16 00:14:28 +00:00
Nathan Letwory
11f104a4a3
Fix [ #35728 ] "Load Factory Settings" changes temp fonder to "/temp/\"
...
This was actually being reset to "/tmp\".
Initialisation for the temp dir was missing after the userpref reload.
2013-06-15 20:12:16 +00:00
Ton Roosendaal
06268dfa4d
Bug fix #35749
...
Image Editor: "Replace Image" operator didn't refresh icon for image.
2013-06-15 15:39:20 +00:00
Ton Roosendaal
f9f7654497
Bugfix #35747
...
Lasso select could crash if there was an Armature in PoseMode somewhere.
Issue also in previous release(s).
2013-06-15 15:10:21 +00:00
Brecht Van Lommel
ee8d353fdd
Fix #35768 : crash in with "free image textures" option and 3D viewport with textured
...
draw mode open. OpenGL texture free needs to happen in the main thread, but it was
freeing a copy of the image datablock. I can't understand how this code ever worked,
probably it never did.
2013-06-15 14:01:16 +00:00
Gaia Clary
9691095d7f
Added Missing check if active object is visible
2013-06-15 12:57:46 +00:00
Gaia Clary
c15c5540d9
make active vertex more apparent in weight paint mode
2013-06-15 12:11:38 +00:00
Campbell Barton
c15802f7d3
display active vertex in weight paint mode. also correct NULL free.
2013-06-15 11:02:36 +00:00
Gaia Clary
6a60bf2f03
Added support for Vertex Weight panel in weight Paint Mode
2013-06-15 10:18:16 +00:00
Gaia Clary
bab2dacc6c
removed unnecessary return statement
2013-06-15 09:53:59 +00:00
Gaia Clary
a8beff3c5e
added basic utility functions for working with mselect (selected mesh elements)
2013-06-15 09:42:58 +00:00
Campbell Barton
d4cbd78a79
fix for recent changes in solidify, normals were OK but customdata for loops wasnt.
2013-06-15 08:59:54 +00:00
Lukas Toenne
6b009ce887
Added a 'move' function to node tree socket api (similar to node.inputs/outputs.move). This allows moving sockets in a node group interface from python without breaking external links.
2013-06-15 07:06:09 +00:00
Campbell Barton
e9d2cd8db2
code cleanup: remove checks for (select == LEFTMOUSE), this happened to work because its defined at 1, but confusingly checks against RIGHTMOUSE fail.
2013-06-15 06:03:15 +00:00
Tamito Kajiyama
e5d292604c
Fix for splitting at material boundaries not correctly working with border lines.
...
Problem report by Charblaze in the BlenderArtists.org Freestyle thread, thanks!
2013-06-14 20:43:54 +00:00
Campbell Barton
9161a4daa5
fix for own error in recent solitify refactor (r57402), face flip check was incorrect.
2013-06-14 16:10:32 +00:00
Bastien Montagne
aa8f621dd9
Code cleanup: removed unused B_BUTSPREVIEW event, and moved back rna_SpaceProperties_texture_context_itemf() together with its fellow functions.
2013-06-14 15:48:03 +00:00
Campbell Barton
afc3d10d1a
fix [ #35694 ] Lattice; Display Type: "Bounds" not working
2013-06-14 15:11:28 +00:00
Campbell Barton
0fab77023d
fix for building c++ rna api with recently added smoothgroup api call.
2013-06-14 14:57:35 +00:00
Jeroen Bakker
cc3476b07e
Fix for
...
* [#35724 ] Backdrop zoom can be set to a very small value, making the backdrop disapear.
There were checks in the drawnode that needed to be placed in the readfile.
The checks checked if the zoomlevel was 0.0, then it was defaulted to 1.0, but the zoomvalue had a minimum limit of 0.01, hence it did not work.
Moved the check to the readfile and checked for all values smaller then 0.02. These values are then reset to 1.0
Jeroen & Monique
- At Mind -
2013-06-14 13:56:00 +00:00
Campbell Barton
05ad8c2dc9
expose smooth group calculation to python as Mesh.calc_smooth_groups()
2013-06-14 09:59:09 +00:00
Lukas Toenne
49065fcbe8
Added a read-only dimensions property for Nodes. This returns the actual node size as calculated in the node_update functions. It can be useful for node layout scripts, since the width/height properties
...
are not an accurate representation of the actual node size which is determined by the uiLayout.
Please note that the dimensions calculation depends on the drawing of nodes, so it may not get updated if nodes are not visible in any editor. Also the node height in particular can change dramatically
based on previews, visible sockets, etc.
2013-06-14 08:59:21 +00:00
Campbell Barton
1fe21f29ec
utility function for calculating smooth groups from sharp edges: BKE_mesh_calc_smoothgroups
2013-06-14 08:28:27 +00:00
Campbell Barton
cd33e7f1b4
utility function BKE_mesh_edge_poly_map_create(), currently unused.
2013-06-14 07:15:38 +00:00
Campbell Barton
f7a06295b9
code cleanup: reduce pointer indirection for mesh-map creation functions.
2013-06-14 06:34:37 +00:00
Campbell Barton
0435560b24
code cleanup: make_edges_mdata() reduce some sign conversion, pointer indirection.
2013-06-14 06:15:30 +00:00
Campbell Barton
6664d1bf59
remove 'dissolve_edge_loop' bmesh operator, edgeloop dissolve replaces this now.
2013-06-14 04:04:35 +00:00
Campbell Barton
64d6810cd9
Change edgeloop delete to use dissolve, fixes bug [ #35738 ].
...
Was using edge-slide & remove-doubles but this was error prone since remove doubles could fail in some cases or find doubles where it shouldn't (with very small scale objects).
This gives more predictable behavior when the edges of a loop wouldnt slide (in that case they would just drag over to one of the sides with no user control)
and multiple edge loops work better too. eg:
- http://www.graphicall.org/ftp/ideasman42/edge_loop_del_update.png
2013-06-14 03:04:36 +00:00
Campbell Barton
b913385e32
bmesh edge dissolve: add option use_face_split (matching vertex dissolve option),
...
useful to avoid odd shaped ngons surrounding dissolved edges.
2013-06-14 02:30:40 +00:00
Mitchell Stokes
53e4911ec8
BGE: Fixing a bug that caused KX_GameObject.localTransform to give incorrect results.
2013-06-13 22:15:44 +00:00
Brecht Van Lommel
14cc35d1ab
Fix blender internal showing SSS preprocessing status message even if there isn't
...
any SSS material in the scene.
2013-06-13 18:29:56 +00:00
Brecht Van Lommel
8b2c5e693c
Fix #35634 : weight paint did not do z-buffer culling anymore on Windows after recent change to size of bool.
2013-06-13 17:11:09 +00:00
Campbell Barton
bb61b46280
fixes for using scaled cameras
...
- ED_view3d_from_m4() got incorrect rotation from scaled cameras, was noticable with smoothview transitions.
- when you lock the camera to the view, any view edits would reset the cameras scale to 1.
- another problem with view locking if the camera was scaled and had a parent, the parent would be transformed incorrectly.
- fly mode was chaning object scale a little over time, now restore after applying scale so it never changes.
2013-06-13 15:09:32 +00:00
Brecht Van Lommel
7d478ac0a7
Fix #35664 : blender internal material index pass + ztransp + multiple materials
...
assigned to a mesh did not work correct.
2013-06-13 15:02:42 +00:00
Brecht Van Lommel
a754423bd1
Fix #35735 : blender internal viewport rendering was missing SSS update when
...
changing angle of view.
2013-06-13 14:40:22 +00:00
Gaia Clary
e26fb9a69e
Rephrased error message for clarity
2013-06-13 14:17:02 +00:00
Campbell Barton
cda5770160
code cleanup: also fix crash in GPU_state_print(). and confine to debug mode builds.
2013-06-13 11:59:28 +00:00
Sergey Sharybin
eb136fcbec
Added NULL check for socket type make_socket_interface
...
Without this check it's easy to crash blender by passing
non-existing socket type to sockets.new() function.
2013-06-13 11:49:22 +00:00
Campbell Barton
65047099b2
fix for pythons __dir__ returning registrable functions on class instances (which may not have the functions defined).
...
gave odd behavior of including members in __dir__ that couldn't getattr()
2013-06-13 11:35:25 +00:00
Sergey Sharybin
54a42a4254
Fix crash in movie clip node when ibuf fails to load.
...
Was a stupid mistake in another fix here :(
2013-06-13 10:25:41 +00:00
Lukas Toenne
85823bff07
Safety check for NodeTree.links.new function: Added NEVER_NULL flags to from_socket/to_socket arguments to make sure the function doesn't crash when passing None/NULL.
2013-06-13 09:52:14 +00:00
Campbell Barton
815a87a652
fix [ #35346 ] Python: still UI issue with popup and dropdown list
2013-06-13 09:12:53 +00:00
Campbell Barton
8b4bca6cf0
fix [ #35713 ] Set Origin not waiting for user input.
...
Only activate search-box items on mouse-release,
Otherwise this gives odd behavior when using the operator-search popup since some tools expect the mouse buttons not to be held when activating which includes operators that have their own popup menus.
2013-06-13 01:39:07 +00:00
Campbell Barton
8eb6b954fd
internal change to searchbox: store the active search index rather then index + 1, simplifies checks.
2013-06-13 01:13:26 +00:00
Campbell Barton
532503e0cb
fix for problem with creating weight-paint preview.
...
In the case where the modifier stack didnt need deform-verts to calculate,
they would not be available for the preview either.
This fixes a bug caused by r57206 which set mirror to preview so the mirrored
weights would be displayed, but it only worked when there was an armature after it, see [#35545 ].
2013-06-13 00:33:48 +00:00
Brecht Van Lommel
69e7fb6091
Fix #35715 : incorrect shortcut shown for some menus after recent code refactoring.
2013-06-12 20:47:46 +00:00
Tamito Kajiyama
f4dc0fa6c9
Fix #35353 : Freestyle + Compositor + Auto-render renders freestyle lines in the wrong place.
2013-06-12 17:59:03 +00:00
Sergey Sharybin
9aa088bab6
Track Position node now could output absolute position of track at a given frame
2013-06-12 14:28:36 +00:00