Francisco De La Cruz
86508076d8
Fix [ #30943 ] Crash when edge mode enabled and use the bmesh vertex slide(shift-V)
...
Also fixed snapping sensitivity. Gave BMOp a more consistent name "vertex_slide".
2012-04-15 18:34:13 +00:00
Campbell Barton
6520aa97a9
add 'idprop' module so we can document idprop.types.*, currently doc generator has no access to ID Property types.
2012-04-15 14:54:15 +00:00
Nicholas Bishop
24286ba5bd
Fix bug [ #30953 ] Changing brush preset irreversibly undoes things
...
Remove REGISTER/UNDO flags from brush preset operator.
2012-04-15 14:54:01 +00:00
Bastien Montagne
6fed4fdd5e
Style cleanup (mostly line length, also no final point in tips...).
2012-04-15 13:41:07 +00:00
Benoit Bolsee
6627fe3f75
BGE bug #30555 : crash in Replace Mesh when physics shape is triangle mesh and new mesh has no collision faces. The fix consists in keeping the previous physics shape, which is not quite correct, but the situation is unusual anyway.
2012-04-15 12:49:34 +00:00
Brecht Van Lommel
cda6230a85
Fix #30952 : uv unwrapper not working as well as 2.62 on some topologies, let the
...
unwrapper itself decide how to split quads since it has specific checks for the
best unwrapping split built in, gives better results.
2012-04-15 10:31:07 +00:00
Campbell Barton
db53faffa3
make ngon_perimeter into a public api function and expose to python.
2012-04-15 10:09:27 +00:00
Brecht Van Lommel
97538bd9ed
Fix #30960 : various mesh operators were missing tooltip descriptions.
2012-04-15 10:07:57 +00:00
Brecht Van Lommel
46146ecd08
Tweak knife/unwrap tesselation code a bit, it uses a random offset, now also
...
seed the random number generator to at least make these operator repeatable.
I don't know why it is using random numbers at all, we should really not be
doing this in my opinion, but I don't understand why it's being done so won't
remove it.
2012-04-15 10:06:36 +00:00
Thomas Dinges
9ef26d145c
Fix [ #30959 ] "undocumented operator" tooltip for Collada im- and export
...
* Also change UI name for ColorRamp node in rna_nodetree_types.h (Had a different name than in the actual UI)
2012-04-15 09:39:51 +00:00
Brecht Van Lommel
637387b8ac
Fix #30949 : live unwrap when marking seams did not work with bmesh.
2012-04-15 09:20:42 +00:00
Brecht Van Lommel
ac07f89838
Fix #30948 : add scene > copy settings did not copy settings like units, audio, game
...
data, and tool settings.
What exactly should be copied is a bit up to interpretation, but I think these make
sense, and things like audio or game data used to be part of render settings which
do get copied so at least for those it was a regression.
2012-04-15 08:48:11 +00:00
Campbell Barton
a73d0d3e72
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.
2012-04-15 07:54:07 +00:00
Campbell Barton
e7f1033dcb
style cleanup: for loop macros, also add a config file for uncrustify source formatter (able to get very close to our own style guide).
2012-04-15 07:24:14 +00:00
Thomas Dinges
3f605bff4b
Scons:
...
* Add new scons options to 'blenderlite' target
* Remove ancient yafray comment
2012-04-14 22:33:48 +00:00
Thomas Dinges
f725a3d6c4
Scons ToDo:
...
* Made Frameserver building optional, added WITH_BF_FRAMESERVER.
* Enabled per default in btools.py
2012-04-14 22:19:29 +00:00
Thomas Dinges
48ed63b1a5
Scons ToDo:
...
* Made Smoke building optional, added WITH_BF_SMOKE.
* Enabled per default in btools.py
2012-04-14 21:55:38 +00:00
Thomas Dinges
44f10d889e
Blender Internal:
...
* Remove some remaining (already commented) radiosity cruft.
2012-04-14 21:48:34 +00:00
Daniel Genrich
73a77650d0
Fluidsim: Text fix.
2012-04-14 20:35:39 +00:00
Daniel Genrich
ab6c8c2565
Fluidsim:
...
a) Remove "animatable" flag from resolution property
b) "Hide fluid surface": Add description and changed prperty name. Nobody really understood the purpose of that checkbox.
2012-04-14 20:24:12 +00:00
Thomas Dinges
51211b9419
Revert rename of ColorRamp node from r45629.
...
Don't make such changes based on an assumption, it could be wrong and coordinate with the UI team first!
2012-04-14 18:05:44 +00:00
Bastien Montagne
6c285ce1a6
Minor fix to UI messages.
2012-04-14 16:24:30 +00:00
Bastien Montagne
9cd72eef99
Minor fix to recent i18n commits.
2012-04-14 16:06:59 +00:00
Bastien Montagne
e5bda9f827
Fixed some UI message typos (spotted by Leon Cheung, thx).
2012-04-14 15:44:31 +00:00
Bastien Montagne
310c0b9f10
Fixed another bunch of i18n bugs (thx to Leon Cheung for spotting them), among which:
...
* Drag'n'drop translation in Outliner
* "Execute" button in file window
* "Labels" of spacing elements, in multi-column enums
* A glitch with nodes "Value to RGB", they where called "ColorRamp" in node_type_base() call. This is not definitive, though, as it appears that UI node names are determined by this call, while it should be by "defines" in rna_nodetrre_types.h, I guess... Anyway, not good to have such things in two different places!
Also moved default context name under BLF_translation.h, much better to have those all in one place, accessible from whole Blender code!
2012-04-14 15:06:41 +00:00
Joshua Leung
513f363ea0
Silencing some compiler warnings on Windows
...
argv is defined as "char *" here so that unicode magic can happen causing
problems later on when "const char**" is expected instead. While this fix is
redundant on other platforms, it's a lot less confusing than some of the
alternative fixes.
2012-04-14 11:58:52 +00:00
Campbell Barton
969a079aeb
code cleanup: comment (almost) all members of KeyBlock & Key.
2012-04-14 03:58:08 +00:00
Campbell Barton
289f627f63
code cleanup: when extending name length Key.elemstr was incorrectly extended to 64 chars, added comment and set back to original length.
2012-04-14 02:48:56 +00:00
Campbell Barton
c8a1ef78c0
style cleanup: key.c
2012-04-14 02:32:32 +00:00
Bastien Montagne
889dc208bf
Grmph, BLF_(p)gettext were not protected against NULL message/context, was causing a sigsev with latest own commits (in File menu)!
2012-04-13 20:58:59 +00:00
Bastien Montagne
134bf10e4d
i18n: "labels" of multi-section enums need to be marked for gettext (N_()), as they are not available from python...
2012-04-13 20:25:05 +00:00
Bastien Montagne
4c1c092fb9
Fixed (or partly fixed) various missing UI translations, mainly with some specific ops invocations (popup menus…), and (to some extent) with the undo/redo stuff.
2012-04-13 19:59:29 +00:00
Thomas Dinges
455b8212b6
Scons:
...
* Compile fix for r45609, pthreads include was missing.
2012-04-13 19:34:15 +00:00
Brecht Van Lommel
b219b5294b
Fix #30376 : cycles ignores camera override from sequencer.
2012-04-13 17:42:03 +00:00
Brecht Van Lommel
440f449265
Fix #30858 : UI losing buttons at some random moment after using Blender for a
...
while. This may not fix all cases but should at least solve the issue when
rendering with cycles.
The cause was a race condition on C->data.recursion, with multiple threads
accessing context at the same time. Cycles itself does not access context
from the render thread, but the bpy api would do a context update for any
callback in case e.g. a new file got loaded. Disabled that now in non-main
threads.
The ideal solution would be to not allow any context access at all from threads
but that's not so simple to implement, especially not this close to release.
2012-04-13 16:03:52 +00:00
Antony Riakiotakis
152b253c2c
remove duplicate notifier event
2012-04-13 15:33:29 +00:00
Campbell Barton
87364befd9
fix [ #30728 ] Align View Restricts Further View Changes
...
turntable rotation can get into gimbal lock.
2012-04-13 15:15:13 +00:00
Brecht Van Lommel
a914c9bb7e
Fix missing cycles update when tweaking some render layer settings.
2012-04-13 14:18:33 +00:00
Campbell Barton
958e71e375
code cleanup: use axis_angle_to_quat() to simplify turntable view rotate code.
2012-04-13 13:55:55 +00:00
Campbell Barton
0d9fa93581
fix for editmode UV hiding with edges, was also using deprecated flag (UV_SELECT_FACE)
2012-04-13 13:31:41 +00:00
Sergey Sharybin
ff3074b631
Increase limit for game simulation steps to 50, made it hard limit.
...
Soft limit is still 5, so should be pretty safe even if it's not
supported well in all cases.
2012-04-13 12:45:44 +00:00
Brecht Van Lommel
44258c3c9a
Fix #30876 , #30932 : crash in material preview render after undo or file load,
...
due to old material copies hanging around in the preview database.
This crash happened pretty randomly, but was especially noticeable when using
node groups.
2012-04-13 12:12:54 +00:00
Thomas Dinges
3578a93eb8
Node Editor / Properties Region:
...
* Improved checks for Grease Pencil and Active Node panel, so the panel only gets shown when there is valid data, rather than showing the empty panel.
Thanks to Lukas Tönne for some help! :)
2012-04-13 11:58:16 +00:00
Campbell Barton
a1e6e75add
fix [ #30936 ] Face Inset gives bad UV's
2012-04-13 10:37:33 +00:00
Brecht Van Lommel
0cabb2fa6a
Fix related to #30928 : missing image editor update when changing active image
...
texture node.
2012-04-13 09:31:37 +00:00
Campbell Barton
1add07821b
fix [ #30925 ] successful import of keyconfig dependant on current object context?
...
revert r34885,
The hack was to fix poselib UI but is REALLY BAD - don't modify properties when accessing them.
This bug must be fixed some other way.
2012-04-13 09:25:50 +00:00
Brecht Van Lommel
5b55934c79
Fix part of #30934 : save as image in image editor did not set proper defaults
...
for options like compression.
2012-04-13 09:20:59 +00:00
Campbell Barton
6046500ee5
- startup.blend's temp dir was pointing to sergeys user dir, now point to /tmp
...
- fix error in ctodata.py (was adding dummy bit)
- make UV hide from last commit more readable.
2012-04-13 08:18:54 +00:00
Campbell Barton
05bdc46641
fix [ #30923 ] Hide Unselected in the UV/Image editor does nothing
2012-04-13 07:18:26 +00:00
Campbell Barton
58993c3f37
bmesh - UV editor: check if faces are visible before hiding them (was done before bmesh merge).
2012-04-13 06:54:37 +00:00