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
2017-03-06Merge branch 'master' into blender2.8Julian Eisel
Conflicts: source/blender/editors/space_nla/nla_draw.c source/blender/editors/space_view3d/view3d_draw.c
2017-03-04OpenGL: remove fdrawcheckerboardMike Erwin
This helper function was marked DEPRECATED since it uses old OpenGL calls. Switched last 2 uses to imm_draw_checker_box, which does the same thing, only awesome. Part of T49043
2017-03-02Remove all instances of OBACT from drawobject.c and related changesDalai Felinto
2017-03-02Remove tons of OBACTDalai Felinto
There are now only referenced in: * drawobject.c * particle_edit.c * space_image.c (a single case to be handled on workspace branch) * rigidbody_constraint.c (to be handled in the following commit)
2017-03-01Cleanup: warningsCampbell Barton
2017-02-28OpenGL: no more display listsMike Erwin
Part of the OpenGL core profile upgrade (T49165) Use the Batch drawing API (GPU_batch.h) when you want do draw something multiple times.
2017-02-24Opengl glaDrawPixels removal: More descriptive setup.Clément Foucault
2017-02-24Opengl glaDrawPixels removal: editors/spacesClément Foucault
2017-02-22Cleanup: StyleJulian Eisel
2017-02-15Layers: Separate between scene render layer (F12) and context render layer ↵Dalai Felinto
(everything else) For now they are the same. However with workspaces they will be different, and should be treated differently.
2017-02-15Bring rendering back (update all references to SETLOPPER)Dalai Felinto
2017-02-15Viewport: Ported info drawing to from legacy code.Clément Foucault
2017-02-09Fix active object name not showing in viewportDalai Felinto
2017-02-08Fix breakage when saving files from the UIDalai Felinto
The problem was with offscreen buffer rendering
2017-02-08create BKE_scene_layer_activeDalai Felinto
2017-02-08Bring back Lasso and Circle selection backDalai Felinto
(and replace more instances of BaseLegacy/scene->base with Base/sl->object_bases) Still need mouse selection, box selection, and menu selection Also, there is still a problem with BA_WAS_SEL, at the moment only the objects centers are highlighted.
2017-02-07Partial "fix" for objects not being selectedDalai Felinto
To bring this fix a step further we need to address all the BA_WAS_SEL instances, and make sure they follow the new design. This commit allow you to see the object selected (its center anyways) when you do select all. Note: in the clay engine selection (a) was already working fine.
2017-02-07Render Layers and Collections (merge from render-layers)Dalai Felinto
Design Documents ---------------- * https://wiki.blender.org/index.php/Dev:2.8/Source/Layers * https://wiki.blender.org/index.php/Dev:2.8/Source/DataDesignRevised User Commit Log --------------- * New Layer and Collection system to replace render layers and viewport layers. * A layer is a set of collections of objects (and their drawing options) required for specific tasks. * A collection is a set of objects, equivalent of the old layers in Blender. A collection can be shared across multiple layers. * All Scenes have a master collection that all other collections are children of. * New collection "context" tab (in Properties Editor) * New temporary viewport "collections" panel to control per-collection visibility Missing User Features --------------------- * Collection "Filter" Option to add objects based on their names * Collection Manager operators The existing buttons are placeholders * Collection Manager drawing The editor main region is empty * Collection Override * Per-Collection engine settings This will come as a separate commit, as part of the clay-engine branch Dev Commit Log -------------- * New DNA file (DNA_layer_types.h) with the new structs We are replacing Base by a new extended Base while keeping it backward compatible with some legacy settings (i.e., lay, flag_legacy). Renamed all Base to BaseLegacy to make it clear the areas of code that still need to be converted Note: manual changes were required on - deg_builder_nodes.h, rna_object.c, KX_Light.cpp * Unittesting for main syncronization requirements - read, write, add/copy/remove objects, copy scene, collection link/unlinking, context) * New Editor: Collection Manager Based on patch by Julian Eisel This is extracted from the layer-manager branch. With the following changes: - Renamed references of layer manager to collections manager - I doesn't include the editors/space_collections/ draw and util files - The drawing code itself will be implemented separately by Julian * Base / Object: A little note about them. Original Blender code would try to keep them in sync through the code, juggling flags back and forth. This will now be handled by Depsgraph, keeping Object and Bases more separated throughout the non-rendering code. Scene.base is being cleared in doversion, and the old viewport drawing code was poorly converted to use the new bases while the new viewport code doesn't get merged and replace the old one. Python API Changes ------------------ ``` - scene.layers + # no longer exists - scene.objects + scene.scene_layers.active.objects - scene.objects.active + scene.render_layers.active.objects.active - bpy.context.scene.objects.link() + bpy.context.scene_collection.objects.link() - bpy_extras.object_utils.object_data_add(context, obdata, operator=None, use_active_layer=True, name=None) + bpy_extras.object_utils.object_data_add(context, obdata, operator=None, name=None) - bpy.context.object.select + bpy.context.object.select = True + bpy.context.object.select = False + bpy.context.object.select_get() + bpy.context.object.select_set(action='SELECT') + bpy.context.object.select_set(action='DESELECT') -AddObjectHelper.layers + # no longer exists ```
2017-02-05fix most UI text colorMike Erwin
There are still many places to fix. I'll miss the bright yellow! This commit also uses the new BLF_default function where possible. Part of T49043 since we call glColor less often.
2016-12-28Revert particle system and point cache removal in blender2.8 branch.Lukas Tönne
This reverts commit 5aa19be91263a249ffae75573e3b32f24269d890 and b4a721af694817fa921b119df83d33ede7d7fed0. Due to postponement of particle system rewrite it was decided to put particle code back into the 2.8 branch for the time being.
2016-12-053D cursor & mini axis for modern viewportMike Erwin
Shuffle existing code, hook it up to the new (& old) viewport. Also the 3D mouse rotation guide for NEW viewport only. Minor feature not worth enabling for legacy 3D view.
2016-12-05OpenGL: delete bl_debug_drawMike Erwin
Eliminating this chunk of legacy GL as part of T49043. We can introduce some sort of "debug plate" to fill this need in the future.
2016-12-05cleanup: C99 for view3d_drawMike Erwin
Mostly for clarity & to declare things close to where they are used. I'm getting ready to do substantial work in these files.
2016-12-02OpenGL: cleanup function parameters & stateMike Erwin
glDepthMask takes GLenum glLineWidth & PointSize take float glCullFace has no effect when GL_CULL_FACE disabled
2016-11-15start using COMP_* instead of GL_* in viewportMike Erwin
Gawain can accept either enum, but its own COMP_ values are recommended.
2016-10-24Viewport: move the background to the "modern" viewportDalai Felinto
This also leaves room for the gradient background Mike Erwin wants to implement.
2016-10-24immediate mode: backgroundDalai Felinto
There is a problem here, which is that we can't use immediate mode here until we rely on `GPU_material_bind`. (cc: @merwin)
2016-10-14viewport: move border drawing code to new fileDalai Felinto
2016-10-14immediate mode: convert render border code and move to new drawingDalai Felinto
routine
2016-10-14Immediate mode: use new util functions, and border draw functionsDalai Felinto
Part of T49043 Reviewers: merwin
2016-10-13immediate mode: starting using new immUniformThemeColorBlendShade and more ↵Dalai Felinto
conversion
2016-10-10remove call to GLSL support query (it's always supported)Mike Erwin
Reworked logic in the one place that still called this. Deleted the "GLSL not supported" fallback.
2016-10-07Blender 2.8: OpenGL: replace old GL with the new immediate API in ↵Mike Erwin
UI_draw_roundbox_gl_mode I change UI_draw_roundbox_gl_mode to use immediate API. The rest of the change is the call to the function. I also make some change in UI_ThemeColor4(int colorid) for eg to make convenience to use. I would really like to know if it's the good way to do, if yes I will make all the change in the node_daw.c after, else say me what's wrong and how to deal with color else. Reviewers: merwin, dfelinto, Severin Reviewed By: merwin Subscribers: fablefox, Severin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2274
2016-10-07Viewport: support for external render engines (e.g., Cycles) with depthDalai Felinto
(it is still a rough approach, but you can already see Cycles with Floor (when using board render or full render)
2016-10-06Viewport: bring grid over to the new viewportDalai Felinto
We will keep the old system working as long as we can. At the moment even the visibility flags we are getting from the old system. That will continue like this until we have decided on the new UI
2016-10-05Barebones for viewport code apart from 2.7x drawing codeDalai Felinto
A new option (set in the properties region) allows the user to pick the "new viewport" for the rendering (in the UI: Modern Viewport). For now we have a semi-blank file (view3d_draw.c) that can starts to take over the drawing pipeline. I can't guarantee we will be able to keep both drawing systems working through the entire 2.8 development, but it should do for now. also, we can use branches for some of the viewport development, but it's better to keep things in 2.8 whenever we can, so people can test it.