ef054e165c
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.
2012-04-28 15:14:16 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
4469ab9857
code cleanup:
...
- move lasso functions into BLI (were in 3D view but UV editor needs access)
- remove unused UV functions (ones that assumed 3-4 sized UVs only)
2012-04-27 07:26:28 +00:00
b56aabf815
style cleanup: multi-line if statements.
2012-04-21 15:11:03 +00:00
b73e4126dd
fix [ #30806 ] Mirror Hair Particles Bug, Complete Crash
2012-04-05 06:26:18 +00:00
5b88712ff9
move debug flag into its own global var (G.debug), split up debug options.
...
--debug
--debug-ffmpeg
--debug-python
--debug-events
--debug-wm
This makes debug output easier to read - event debug prints would flood output too much before.
For convenience:
--debug-all turns all debug flags on (works as --debug did before).
also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-31 00:59:17 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
b6c2f9ddab
style cleanup: enforce macros using a semicolon.
2012-03-22 01:35:13 +00:00
ad1a181316
Fix for [ #30445 ] Particle simulation, rekey crashes blender
...
- Entering particle mode crashed due to missing checks if a particle didn't have any baked keys.
- The rekey functionality is only supported for hair, so replaced the operator poll function with the correct one.
- Also replaced a couple of other "only hair" operator poll functions to the correct ones.
2012-03-20 12:59:45 +00:00
2635d78ec1
Grumph, more fixes in this Select menu (Invert had default op name for metaball and particules...). Also fixed "(De)select All" name of particule op.
2012-03-18 20:04:41 +00:00
31d2ee9bf7
style cleanup, brackets in else/if, some indentation.
2012-03-06 18:40:15 +00:00
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +00:00
a2c182e923
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
2012-03-03 16:31:46 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
5148828356
svn merge ^/trunk/blender -r44235:44250
2012-02-19 17:59:30 +00:00
02b28e9162
replace MIN2 / MAX2 with minf / maxf to avoid calling functions multiple times.
2012-02-19 05:11:24 +00:00
1f84876e89
ensure defoem DM has tessface data for the few places that need it.
...
also add a workaround for CDDM_recalc_tesselation_ex() which would add a CD_NORMAL to dm->fdata and then overwrite immediate
2012-01-19 19:23:25 +00:00
917714acf7
svn merge ^/trunk/blender -r43345:43381
2012-01-15 09:16:39 +00:00
166a37532f
remove *.select_inverse operators where the *.select_all operator has an invert option.
2012-01-14 06:58:03 +00:00
2cde9bb99c
Bugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes in 3dview without having to exit + enter editmode.
2012-01-13 15:14:08 +00:00
f07df7287e
manual sync with trunk - pulling in changes where the issues are not bmesh spesific
...
- some merges added lines in multiple times
- removed some NULL checks that were only in bmesh
- enable cycles by default (was disabled because it used not to work)
- make formatting match
2011-12-04 23:13:28 +00:00
7508540c53
svn merge -r41575:41602 ^/trunk/blender
2011-11-07 07:01:24 +00:00
b82dee0cb4
replace macros with bli math functions for particles code
2011-11-06 14:00:55 +00:00
e936c78251
svn merge ^/trunk/blender -r41503:41575
2011-11-06 10:38:44 +00:00
33accdb725
use (const char*) rather than (char*) where possible.
...
also removed some unused function definitons.
2011-11-05 11:04:28 +00:00
c529631c1e
uncommented particle mirror, tested and it works fine.
2011-11-01 09:21:23 +00:00
ff837cbe9b
svn merge -r41310:41329 ^/trunk/blender
2011-10-28 05:17:09 +00:00
592879bfca
prefix common internal operator function names so its possible to assign them breakpoints.
2011-10-28 03:02:09 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
ad1d3dd30f
svn merge ^/trunk/blender -r41175:41200 --- will need to apply fix after
2011-10-24 07:56:42 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
c1de5cc838
- use defines for wmKeyMapItem & wmEvent alt/shift/ctrl/oskey
...
- clear utf8_buf on key up & complain if its set (should never happen)
2011-10-22 11:34:01 +00:00
638a93b235
svn merge ^/trunk/blender -r41075:41099
2011-10-18 01:09:00 +00:00
61389bba41
fix spelling mistakes in comments (and in some python error messages), nothing to effect translations.
2011-10-17 06:39:13 +00:00
effea8c29b
svn merge ^/trunk/blender -r40511:40587
2011-09-27 03:12:31 +00:00
58587a3881
replace strncpy with BLI_strncpy, in some cases strncpy was being misused since it doesnt ensure \0 termination.
...
also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-26 18:51:10 +00:00
14475d07cd
svn merge -r40295:40367 ^/trunk/blender
2011-09-21 17:15:54 +00:00
f157a543c6
/blender/editors: Removed final points in UI strings and messages.
...
Plus a few cuts in very long lines…
2011-09-19 12:26:20 +00:00
5065d4c744
svn merge -r39664:39762 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-29 00:46:56 +00:00
fa2ba5fbf5
- use static vars and functions where possible.
...
- use NULL rather than 0 when used as pointers.
2011-08-28 05:06:30 +00:00
cadfac5a0f
svn merge -r38000:38200 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-07-25 17:51:30 +00:00
a7815053ef
svn merge -r37600:37700 https://svn.blender.org/svnroot/bf-blender/trunk/blender
...
manually merged source/blender/editors/uvedit/uvedit_unwrap_ops.c
2011-07-25 12:59:54 +00:00
0dcc370f3b
Fix for [ #27347 ] Particle x-axis mirror editing not working as expected.
...
* The x-mirror editing didn't mirror strand lengths.
2011-07-05 01:49:34 +00:00
2145005e5e
Fix for [ #26939 ] Hair Combing intersects emitter when combed fast
...
* Hair combing now uses substeps to apply the combing when the mouse movement exceeds 0.2 of the brush radius.
* This could make combing a bit slower on fast mouse movements, but the increase in combing quality is definitely worth it.
2011-06-21 11:15:37 +00:00
f122a74b1e
svn merge -r37078:37335 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-06-09 15:20:29 +00:00
88676349a4
Code holiday commit:
...
- fix: user pref, window title was reset to 'Blender' on tab usage
- Undo history menu back:
- name "Undo History"
- hotkey alt+ctrl+z (alt+apple+z for mac)
- works like 2.4x, only for global undo, editmode and particle edit.
- Menu scroll
- for small windows or screens, popup menus now allow to display
all items, using internal scrolling
- works with a timer, scrolling 10 items per second when mouse
is over the top or bottom arrow
- if menu is too big to display, it now draws to top or bottom,
based on largest available space.
- also works for hotkey driven pop up menus.
- User pref "DPI" follows widget/layout size
- widgets & headers now become bigger and smaller, to match
'dpi' font sizes. Works well to match UI to monitor size.
- note that icons can get fuzzy, we need better mipmaps for it
2011-06-04 17:03:46 +00:00
08d6932c86
svn merge -r36900:37028 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-05-31 05:11:04 +00:00
9b5800bcd7
fixed "rather then" -> "rather than" typos all over the place
2011-05-28 13:11:24 +00:00