Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-03Merge branch 'master' into blender2.8Campbell Barton
2018-04-03Cleanup: rename BMesh count_ex -> count_at_mostCampbell Barton
2018-04-03Undo: use general id-map for image undo lookups.Campbell Barton
Was doing own name based lookups to keep compatible w/ global undo.
2018-04-03Merge branch 'master' into blender2.8Campbell Barton
2018-04-03Undo: replace global access w/ ED_undo_stack_getCampbell Barton
While I'd like to avoid using this too much since the operator system should handle. It's less trouble than accessing it inline each time.
2018-04-01Merge branch 'master' into blender2.8Campbell Barton
- Undo that changes modes currently asserts, since undo is now screen data. Most likely we will change how object mode and workspaces work since it's not practical/maintainable at the moment. - Removed view_layer from particle settings (wasn't needed and complicated undo).
2018-04-01Cleanup: remove global headerCampbell Barton
2018-03-31Undo: unified undo system w/ linear historyCampbell Barton
- Use a single undo history for all operations. - UndoType's are registered and poll the context to check if they should be used when performing an undo push. - Mode switching is used to ensure the state is correct before undo data is restored. - Some undo types accumulate changes (image & text editing) others store the state multiple times (with de-duplication). This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`. - Each undo step stores ID datablocks they use with utilities to help manage restoring correct ID's. Needed since global undo is now mixed with other modes undo. - Currently performs each undo step when going up/down history Previously this wasn't done, making history fail in some cases. This can be optimized to skip some combinations of undo steps. grease-pencil is an exception which has not been updated since it integrates undo into the draw-session. See D3113
2018-03-27Merge branch 'master' into blender2.8Campbell Barton
2018-03-27Cleanup: move paint curve undo into own fileCampbell Barton
2018-03-25GPUTexture: Small refactor.Clément Foucault
This includes a few modification: - The biggest one is call glActiveTexture before doing any call to glBindTexture for rendering purpose (uniform value depends on it). This is also better to know what's going on when rendering UI. So if there is missing UI elements because of this commit look for this first. This allows us to have "less calls" to glActiveTexture (I did not measure the final count) and less checks inside GPU_texture. - Remove use of GL_TEXTURE0 as a uniform value in a few places. - Be more strict and use BLI_assert for bad usage of GPU_texture functions. - Disable filtering for integer and stencil textures (not supported by OGL specs). - Replace bools inside GPUTexture by a bitflag supporting more options to identify texture types.
2018-03-23Merge branch 'master' into blender2.8Campbell Barton
2018-03-23Cleanup: doxy header, line lengthCampbell Barton
2018-03-23Cleanup: move image undo into own fileCampbell Barton
2018-03-22GPUCompositing: Remove entire module.Clément Foucault
This module has no use now with the new DrawManager and DrawEngines and it is using deprecated paths. Moving gpu_shader_fullscreen_vert.glsl to draw/modes/shaders/common_fullscreen_vert.glsl
2018-03-12Cleanup: sync EDBM_uv_* functions w/ 2.8Campbell Barton
They're nearly the same, so keep names matching to avoid conflicts.
2018-03-12Merge branch 'master' into blender2.8Campbell Barton
2018-03-12UV: internal changes to pickingCampbell Barton
Nothing user visible, only things needed for multi-object support, making picking functions more flexible too. - Support passing in an initialized hit-struct, so it's possible to do multiple nearest calls on the same hit data. - Replace manhattan distance w/ squared distance so they can be compared. - Return success to detect changes to a hit-data which might already be initialized (also more readable).
2018-03-08Merge branch 'master' into blender2.8Campbell Barton
2018-03-08Cleanup: Rename view3d context set functionCampbell Barton
Use common prefix so adding related functions share the prefix.
2018-03-06Cleanup: unused varCampbell Barton
2018-03-06Merge branch 'master' into blender2.8Campbell Barton
2018-03-06Utility to enter sculpt modeCampbell Barton
2018-02-28Null pointer check exiting sculpt modeCampbell Barton
Needed for 2.8x, harmless here.
2018-02-28Null pointer check exiting sculpt modeCampbell Barton
Needed for 2.8x, harmless here.
2018-02-28Workspace: sync object-modes to other workspacesCampbell Barton
When changing the mode of an object, apply this to all other workspaces that share the same active object. Also use copy the object-mode when duplicating workspaces.
2018-02-19Cleanup: sync vertex-paint and sculpt from 2.8Campbell Barton
Sync API changes from 2.8 to master.
2018-02-18Merge branch 'master' into blender2.8Campbell Barton
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-16Object Mode: exit sculpt on selectionCampbell Barton
2018-02-16Vertex Paint: expose exist paint-mode to APICampbell Barton
2018-02-15Merge branch 'master' into blender2.8Campbell Barton
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-02-15Merge branch 'master' into blender2.8Sergey Sharybin
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-02-13Object Mode: remove Scene.obeditCampbell Barton
Add ED_screen_window_find, BKE_workspace_edit_object
2018-02-13Object Mode: remove Scene.obedit for 3D ViewCampbell Barton
2018-02-13Object Mode: pass edit-object to UV APICampbell Barton
2018-02-09Cleanup: use workspace for object_mode when possibleCampbell Barton
2018-02-09Cleanup: pass eval_ctx to sculpt_init_sessionCampbell Barton
Matches vertex paint mode
2018-02-09Merge branch 'master' into blender2.8Campbell Barton
2018-02-09Fix T53347: Vertex paint crashCampbell Barton
Vertex paint was still using sculpt mode brush (which can be NULL).
2018-02-08Object Mode: move to workspace structCampbell Barton
- Read-only access can often use EvaluationContext.object_mode - Write access to go to WorkSpace.object_mode. - Some TODO's remain (marked as "TODO/OBMODE") - Add-ons will need updating (context.active_object.mode -> context.workspace.object_mode) - There will be small/medium issues that still need resolving this does work on a basic level though. See D3037
2018-02-07Move eval_ctx after object mode changesCampbell Barton
2018-02-06Object Mode: use eval_ctx for modifiers_isCorrectableDeformedCampbell Barton
Some other minor changes from D3037 as well
2018-02-06Partially revert changes from 2a184f3d2b6Campbell Barton
Ended up removing the need for eval_ctx, but left it being initialized.
2018-02-06Object Mode: use eval_ctx for paint & objectCampbell Barton
2018-02-06Object Mode: use eval_ctx for context/screen codeCampbell Barton
2018-02-06Object Mode: Use eval_ctx mode for drawing, paint & modifiersCampbell Barton
2018-02-02Merge branch 'master' into blender2.8Campbell Barton