Commit Graph

49420 Commits

Author SHA1 Message Date
Campbell Barton
d54d00ef84 Remove paranoid null checks for editmesh EDBM_vert_at_index and friends (use asserts instead).
temp set BM_OMP_LIMIT to zero for better testing before release.
2013-06-19 18:59:54 +00:00
Campbell Barton
06e1bc6178 internal editmesh api: add an extended version of EDBM_verts_mirror_cache_begin which takes arguments to give some more control. 2013-06-19 18:22:00 +00:00
Ton Roosendaal
033089d286 Usability:
For users without middle-mouse buttons, they can now use Circle and Border
deselect by holding SHIFT. Middle mouse still works too.
2013-06-19 15:20:50 +00:00
Bastien Montagne
30a108ddad Fix for expanded enums with icon_only enabled, name of each item was still used to compute its button's size! 2013-06-19 15:08:07 +00:00
Campbell Barton
5a4e36c051 fix own regression with normal recalculation updates 2013-06-19 15:05:02 +00:00
Campbell Barton
a8d5a22f7f ui precision drawing - avoid calling pow(10, -prec) since the range is small use a fixed array. 2013-06-19 14:08:27 +00:00
Gaia Clary
5e9e906bd3 Take precision into account for calculating display of small numbers 2013-06-19 12:16:50 +00:00
Campbell Barton
9d4cc7885d fix for filesel autocomplete, it had the annoying behavior if you entered in a non-existing name, of executing it and then asking to add the dir. 2013-06-19 11:53:48 +00:00
Sergey Sharybin
0701a509ab Merging r57546 through r57569 from trunk into soc-2013-depsgraph_mt 2013-06-19 08:57:02 +00:00
Sergey Sharybin
c63c6e4452 Fix #35773: Drag-to-Open failed in Movie Clip Editor 2013-06-19 08:45:02 +00:00
Sergey Sharybin
26fe036b6e Followup to svn rev57551
Perhaps real fix would be to make all parts of blender
mandatory and not switchable off, so every area of code
would be compiled and verified after no-functional-changes
commits.
2013-06-19 08:40:18 +00:00
Campbell Barton
fed8f76098 fix [#35795] Edge split modifier do not show result in viewport with curves.
caused by recent changes in normal calculation, however curves were not being very smart about calculating modifiers (calling unneeded re-tessellation for every modifier)
2013-06-19 08:19:36 +00:00
Campbell Barton
d9ec2efe8f move modifier callback wrappers into modifier.c 2013-06-19 08:00:20 +00:00
Campbell Barton
b375706935 fix [#35793] Crash When Painting Gradient Weight 2013-06-19 07:45:36 +00:00
Campbell Barton
3c54d1b87a alternate fix for r57562. check if the mouse is over the parent menu. 2013-06-19 06:31:37 +00:00
Campbell Barton
93134c26f9 fix [#35792] Submenus not opening properly on mouse move
caused by own fix for [#35346], now only apply wiggle room for toplevel menus.
2013-06-19 06:01:38 +00:00
Jürgen Herrmann
3c722f037a Fix for own mistake in r57555 :-(
Add include to autoexec.c instead of BLI_path_util.h

Thanks Bastien Montagne for the hint.
2013-06-18 19:09:49 +00:00
Jürgen Herrmann
f2abb213d2 Compile fix for r57554 missing include "BLI_string.h" in BLI_path_util.h 2013-06-18 18:42:29 +00:00
Campbell Barton
447e9a4cd5 add option to enable auto-execute scripts, but exclude certain directories. 2013-06-18 18:11:52 +00:00
Campbell Barton
e6c54c26ae use booleans for operator check functions. 2013-06-18 15:30:51 +00:00
Sergey Sharybin
94a5b3e204 Merging r57518 through r57545 from trunk into soc-20133-depsgraph_mt 2013-06-18 11:33:13 +00:00
Sergey Sharybin
c88ea1c4f8 Made blender compilable with strict flags. 2013-06-18 10:09:45 +00:00
Gaia Clary
943388183d Added back left/right arrows for embossed number fields. (they where active but not drawn) 2013-06-18 09:02:13 +00:00
Mitchell Stokes
1f785cc196 BGE: Fix for [#32218] "logic.addScene() Not Adding Scenes in Order" reported by Josiah Lane (solarlune).
Adding scenes now uses a vector instead of a set to maintain order. This fix is partly based off of patch #32297 by Pavel Sadikov (sigmat).
2013-06-18 04:15:27 +00:00
Campbell Barton
6c6e8e43de fix [#35590] Connected proportional editing gives unexpected results 2013-06-17 18:57:18 +00:00
Campbell Barton
970e9123b4 cmake: remove set_lib_path macro 2013-06-17 18:15:56 +00:00
Campbell Barton
03b6653618 measure distance across faces when checking for proportional distance connectivity (gives smoother results) 2013-06-17 17:25:02 +00:00
Campbell Barton
60acf217f8 fix for editmesh transform connected,
the distance checks could get into a feedback loop so that the result depended on the order of verts/edges.

now you can randomize vert/edge/faces and get exactly the same results.

also made some internal improvements,
- used fixed sized arrays (no need to realloc).
- use vertex tag flags rather then a visit-hash.
- remove 'tots' array that did nothing (not sure why it was added).
2013-06-17 16:55:05 +00:00
Campbell Barton
d761b91b65 reduce sqrt's calls in set_prop_dist(). 2013-06-17 14:37:12 +00:00
Sergey Sharybin
c5bbeb2571 Use use_render argument rather than G.is_rendering to detect
whether preview or render settings need to be used in curves
and mballs tessellation.

This is not noticeable for artists yet, but this is silly
to use G.is_rendering anyway and using argument will help
making rendering and viewport working simultaneously in
the future.
2013-06-17 13:34:17 +00:00
Sergey Sharybin
a3ca67ef80 There's no more global and static variables in the mballs code,
so special case in BKE_displist_make_mball is not needed anymore.

The same could be done in trunk as well, but rather run some
more intensive tests first.
2013-06-17 13:13:46 +00:00
Sergey Sharybin
544572a59b Remove static variables from mball module
Moved all the static variables into a PROCESS
structure which is now passing all over to where
static variables used to be used.

There's still one static variable which is
cubetable, but it's being initialized once
and then used read-only. Maybe we'll need
to move cubetable initialization to blender
startup, but that could wait a bit for now.

For users it means BI rendered viewport
wouldn't crash when using metaballs.

--
svn merge -r57515:57516 ^/branches/soc-2013-depsgraph_mt
2013-06-17 11:18:29 +00:00
Bastien Montagne
2091eca962 Usual UI messages style edits... 2013-06-17 10:01:35 +00:00
Mitchell Stokes
2a1d58c14d BGE: Fixing the python profiling information so that bge.logic.getProfileInfo() returns information even if Show Framerate and Profile is not enabled. 2013-06-17 06:40:39 +00:00
Campbell Barton
c749301a3b patch [#35765] Improve performance during select object in viewport. Up to 3x speedup.
from Alex Babahin (tamerlan311)

replace goto's with static functions.
2013-06-17 06:17:19 +00:00
Antony Riakiotakis
8683006143 Attempt to fix #35548:
Use nearest edge instead of nearest vertex for UV island selection, or
you may get a far away UV island that happens to have a vertex nearby.
2013-06-16 17:07:07 +00:00
Gaia Clary
965462c183 Improved layout of Vertex Weights panel, added option to change active vgroup 2013-06-16 15:44:17 +00:00
Tamito Kajiyama
edfeaae918 Fix for the DensityF0D function not working as expected when the Z pass was not available. 2013-06-16 15:08:25 +00:00
Gaia Clary
254de15215 Vertex weights: Added delete weight from vertex group 2013-06-16 14:41:07 +00:00
Campbell Barton
acb7f36391 use layout engine for vertex weights panel. 2013-06-16 13:30:37 +00:00
Bastien Montagne
a691487ed4 Complete fix for [#35769] The “show texture in texture tab” button in a modifier does not show up until the user manually shows the texture in the Texture tab (and better fix for [#35741] Material shows WORLD texture_context by default).
Simply recompute texture context on every redraw, like already done for sbuts->texuser (also called texture context :/ ).

Also allows simplification, buttons_check_texture_context can be merged back into set_texture_context...
2013-06-16 13:13:42 +00:00
Thomas Dinges
0429595440 Merged revision(s) 57423-57498 from trunk/blender into soc-2013-dingto 2013-06-16 12:05:39 +00:00
Dalai Felinto
29be979758 New icon: CAMERA_STEREO
Adding only the .svg file, the PNG can make once the multiview branch is merged.
I wanted to commit this to avoid having conflicts in the .svg file if
someone works on new icons too.

The new icon is at X-23
2013-06-16 11:14:07 +00:00
Bastien Montagne
556c47faa6 Fix [#35741] Material shows WORLD texture_context by default.
Now also check previous button context, when switching. This way, if the previous one was a texture one, and become valid after the last switch (e.g. a material added to a new object), relevant texture context can still be set.

Note this commit also partially fixes [#35769] The “show texture in texture tab” button in a modifier does not show up until the user manually shows the texture in the Texture tab (full fix of this one will probably implies to always have a valid ButsContextTexture [sbuts->texuser]...).
2013-06-16 09:44:17 +00:00
Campbell Barton
4e23e9cab1 replace strcat with BLI_strcpy_rlen in draw_selected_name(), view3d function.
also fix for incorrect flag checking for shape key pin.
2013-06-16 09:14:24 +00:00
Campbell Barton
c9341334b1 add BLI_strcpy_rlen, replace strcat, which was used in misleading way. 2013-06-16 08:29:02 +00:00
Campbell Barton
fcc4251c07 resolve [#33374] Extrude and mirror editing
mirror editing option was only added to extrude so mirror editing would always be disabled.
the option is now hidden to avoid confusing users.
2013-06-16 05:35:44 +00:00
Campbell Barton
72abfbfc95 fix automerge + mirror, previously only the selected verts would auto-merge. 2013-06-16 05:13:12 +00:00
Campbell Barton
07a537eb1a reduce property lookups on transform init. 2013-06-16 04:37:39 +00:00
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